Skip to content

Document reliability release tracker completion #101

Document reliability release tracker completion

Document reliability release tracker completion #101

Workflow file for this run

name: Pages
on:
push:
branches:
- main
pull_request:
paths:
- ".github/workflows/pages.yml"
- "docs/**"
- "mkdocs.yml"
- "pyproject.toml"
- "uv.lock"
workflow_dispatch:
permissions:
contents: read
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
env:
UV_LOCKED: "true"
PYTHON_VERSION: "3.13"
jobs:
build:
name: Build docs
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Set up uv
uses: astral-sh/setup-uv@v4
with:
version: "0.9.18"
enable-cache: true
cache-dependency-glob: uv.lock
- name: Install development environment
run: uv sync --group dev
- name: Build MkDocs site
run: uv run mkdocs build --strict
- name: Configure Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/configure-pages@v5
- name: Upload Pages artifact
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v3
with:
path: site
deploy:
name: Deploy docs
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy Pages artifact
id: deployment
uses: actions/deploy-pages@v4