Release v2.4.1 #50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Documentation | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'docs/**' | |
| - 'mkdocs.yml' | |
| - 'src/ad_seller/interfaces/api/main.py' | |
| - 'pyproject.toml' | |
| - '.github/workflows/docs.yml' | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| pages: write | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| # Docs deploys deliberately do not install the app; the OpenAPI JSON is a | |
| # committed artifact regenerated locally via scripts/generate_openapi.py. | |
| # Versions are pinned to the ones recorded in uv.lock so the docs build | |
| # cannot drift from the local toolchain — bump them together with `uv lock`. | |
| - name: Install docs toolchain (pinned to uv.lock versions) | |
| run: pip install "mkdocs-material==9.7.6" "mkdocs-mermaid2-plugin==1.2.3" | |
| - name: Deploy to GitHub Pages | |
| run: mkdocs gh-deploy --force |