Skip to content

Deploy Docs

Deploy Docs #11

Workflow file for this run

name: Deploy Docs
on:
workflow_run:
workflows: ["Tests"]
types:
- completed
branches: [main]
workflow_dispatch:
permissions:
contents: write
jobs:
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install mkdocs mkdocs-material "mkdocstrings[python]"
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force