Deploy Docs to GitHub Page #10
Workflow file for this run
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 to GitHub Page | |
on: | |
release: | |
types: [published] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.11' | |
- name: Install MkDocs and Extensions | |
run: | | |
python -m pip install --upgrade pip | |
pip install mkdocs | |
pip install "mkdocstrings[python]" | |
pip install mkdocs-material | |
- name: Build and Deploy | |
run: mkdocs gh-deploy --force |