add github pages site

This commit is contained in:
Christoph Haas
2023-11-02 21:44:14 +01:00
parent 35939c92c9
commit faf454f649
18 changed files with 763 additions and 1 deletions

22
.github/workflows/pages.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: github-pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: 3.x
- uses: actions/cache@v3
with:
key: ${{ github.ref }}
path: .cache
- run: pip install mkdocs-material
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force