Created the upload_docs.yml workflow

This commit is contained in:
Mathias committed 2023-01-08 04:14:41 +01:00
1 parent 49e2c22198
commit e761370f17
1 file changed
+21
+21
View File
@@ -0,0 +1,21 @@
name: Deploy documentation to GitHub
on:
push:
branches: [ "main" ]
paths: [ "docs/**" ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.9
- name: Install dependencies
run: pip install mkdocs-material
- name: Deploy documentation
run: mkdocs gh-deploy --force