Update module 2407.1289 #79
Workflow file for this run
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 |