Merge pull request #1 from blob-cc/dependabot/github_actions/main/act… #2
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: | |
push: | |
branches: | |
- master | |
- main | |
permissions: | |
contents: write | |
jobs: | |
deploy: | |
name: Deploy Docs | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- | |
name: PIP Install mkdocs-material | |
run: | | |
pip install mkdocs-material | |
- | |
name: PIP Install mkdocstrings | |
run: | | |
pip install mkdocstrings[python]>=0.18 | |
- | |
name: MKDocs Deploy | |
run: | | |
mkdocs gh-deploy --force |