2022-11-20 20:18:13 +01:00
|
|
|
name: publish-docs
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- master
|
|
|
|
- mkdocs
|
2022-11-22 15:44:24 +01:00
|
|
|
paths:
|
|
|
|
- 'mkdocs.yml'
|
|
|
|
- 'docs/**'
|
2023-07-29 19:50:16 +02:00
|
|
|
workflow_dispatch:
|
2022-11-20 20:18:13 +01:00
|
|
|
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
|