Created the upload_docs.yml workflow

This commit is contained in:
2023-01-08 04:14:41 +01:00
parent 49e2c22198
commit e761370f17

21
.github/workflows/upload_docs.yml vendored Normal file
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