Deploiement de la documentation¶
La documentation est publiee via .github/workflows/docs.yml.
Declencheurs¶
pushsurmainavec changements sur:docs/**mkdocs.yml.github/workflows/docs.ymlworkflow_dispatch
Prerequis GitHub¶
Dans le repository:
Settings > Pages- Source:
GitHub Actions
Pipeline¶
- checkout
- setup Python 3.12
- install dependances (
docs/requirements.txt) mkdocs build --strict- upload artefact
site - deploy via
actions/deploy-pages
URL¶
https://bayryo.github.io/AdvancedDevSample/
Verification locale¶
python3 -m pip install -r docs/requirements.txt
python3 -m mkdocs build --strict
python3 -m mkdocs serve