add workflow for documentation mkdocs (#243) #1
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: Documentation | |
on: | |
push: | |
branches: | |
- main | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: 3.x | |
- run: pip install . | |
- run: pip install jinja2 | |
- run: pip install mkdocs | |
- run: pip install mkdocstrings-python | |
- run: pip install mkdocs-literate-nav | |
- run: pip install mkdocs-section-index | |
- run: pip install mkdocstrings | |
- run: pip install mkdocs-material | |
- run: pip install mkdocs-typer | |
- run: pip install mkdocs-gen-files | |
- run: mkdocs gh-deploy --force |