deploy-docs #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy-docs | |
on: | |
workflow_run: | |
branches: [ "main" ] | |
workflows: ["run-pytest"] | |
types: | |
- completed | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- run: pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-jupyter livereload | |
- run: pip install . | |
- run: mkdocs gh-deploy --force |