add github workflow for docs

This commit is contained in:
Tim Huyeng 2022-11-20 20:18:13 +01:00
parent 0e7085ea13
commit e17bd59f58

16
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: publish-docs
on:
push:
branches:
- master
- mkdocs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force