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]
|
2024-08-06 15:50:36 -05:00
|
|
|
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-25 16:28:02 -05:00
|
|
|
- uses: actions/setup-python@v4
|
2024-07-13 10:59:35 -05:00
|
|
|
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-08-07 10:55:23 -05:00
|
|
|
- run: pip install mkdocs-awesome-pages-plugin
|
|
|
|
- run: pip install mkdocs-git-revision-date-localized-plugin
|
|
|
|
- run: pip install mkdocs-minify-plugin
|
2024-07-17 13:53:44 -05:00
|
|
|
- run: mkdocs gh-deploy --force
|