Merge pull request #51 from kenchan0130/support-allow-available-unins… #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: mkdocs-build | |
on: | |
push: | |
paths: | |
- 'docs/**' | |
- 'mkdocs.yml' | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v3 | |
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 |