Created the upload_docs.yml workflow
This commit is contained in:
21
.github/workflows/upload_docs.yml
vendored
Normal file
21
.github/workflows/upload_docs.yml
vendored
Normal 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
|
Reference in New Issue
Block a user