ESP32-PaxCounter/.github/workflows/docs.yml
Tim Huyeng 87d9dcfb84 update build workflow
to only run if changes inside docs folder
2022-11-22 15:44:24 +01:00

20 lines
374 B
YAML

name: publish-docs
on:
push:
branches:
- master
- mkdocs
paths:
- 'mkdocs.yml'
- 'docs/**'
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