2024-07-14 20:44:52 -05:00
|
|
|
name: GitHub Pages Deploy
|
2024-07-13 10:59:35 -05:00
|
|
|
on:
|
2024-07-17 13:53:44 -05:00
|
|
|
release:
|
|
|
|
types: [published, prereleased]
|
|
|
|
workflow_dispatch:
|
2024-07-13 10:59:35 -05:00
|
|
|
permissions:
|
|
|
|
contents: write
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2024-07-17 00:38:33 -05:00
|
|
|
- uses: actions/checkout@v4
|
2024-07-13 10:59:35 -05:00
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: 3.x
|
2024-07-17 00:38:57 -05:00
|
|
|
- uses: actions/cache@v4
|
2024-07-13 10:59:35 -05:00
|
|
|
with:
|
|
|
|
key: ${{ github.ref }}
|
|
|
|
path: .cache
|
|
|
|
- run: pip install mkdocs-material
|
|
|
|
- run: pip install pillow cairosvg
|
2024-07-17 13:53:44 -05:00
|
|
|
- run: mkdocs gh-deploy --force
|