Skip to content

better docs actions & mkdocs config #2

better docs actions & mkdocs config

better docs actions & mkdocs config #2

Workflow file for this run

name: docs
on:
push:
branches:
- main
paths:
- docs/**
- mkdocs.yml
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v2
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material[all]
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force