This commit is contained in:
Bruno Alla 2025-08-10 12:58:54 +01:00 committed by GitHub
commit 7930c28935
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

29
.github/workflows/mkdocs-deploy.yml vendored Normal file
View File

@ -0,0 +1,29 @@
name: mkdocs
on:
push:
branches:
- master
paths:
- docs/**
- docs_theme/**
- requirements/requirements-documentation.txt
- mkdocs.yml
- .github/workflows/mkdocs-deploy.yml
jobs:
deploy:
runs-on: ubuntu-latest
environment: github-pages
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- run: git fetch --no-tags --prune --depth=1 origin gh-pages
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install -r requirements/requirements-documentation.txt
- run: mkdocs gh-deploy