Update deploy-mkdocs.yml

This commit is contained in:
Lost Paul 2023-09-09 16:42:59 +02:00 committed by GitHub
parent 17182dc316
commit f549de1ce2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,23 @@
- name: Deploy MkDocs
uses: mhausenblas/mkdocs-deploy-gh-pages@1.26
name: ci
on:
push:
branches:
- master
- main
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
- run: pip install pillow cairosvg
- run: mkdocs gh-deploy --force