Skip to content

deploy-docs

deploy-docs #2

Workflow file for this run

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@v2
- uses: actions/setup-python@v2
with:
python-version: 3.7
- run: pip install .
- run: pip install mkdocs mkdocs-material mkdocstrings[python] mkdocs-jupyter livereload
- run: mkdocs gh-deploy --force