21 lines
395 B
YAML
21 lines
395 B
YAML
name: publish-docs
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
- mkdocs
|
|
paths:
|
|
- 'mkdocs.yml'
|
|
- 'docs/**'
|
|
workflow_dispatch:
|
|
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
|