Publish MkDocs #25
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: Publish MkDocs | |
on: | |
release: | |
types: [released] | |
workflow_dispatch: | |
jobs: | |
publish_mkdocs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.9 | |
- name: Install MkDocs & Plugins | |
run: | | |
pip install . | |
pip install mkdocs mkdocs-material mkdocs-jupyter mkdocstrings[python] black | |
- name: Publish document | |
run: mkdocs gh-deploy --force |