Merge pull request #748 from aaronparker/apps #84
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: mkdocs-build | |
on: | |
push: | |
paths: | |
#- 'docs/**' | |
- 'mkdocs.yml' | |
branches: | |
- main | |
tags: | |
- "v*.*" | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
name: Publish docs | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
key: ${{ github.ref }} | |
path: .cache | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: | | |
pip install mkdocs-material | |
pip install pillow cairosvg | |
git pull origin main | |
pip install -r requirements.txt | |
mkdocs gh-deploy --force |