22 lines
492 B
YAML
22 lines
492 B
YAML
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
|