Skip to content

Amelioration admin wagtail - 23/9 - Redirections, homepage, recherche… #589

Amelioration admin wagtail - 23/9 - Redirections, homepage, recherche…

Amelioration admin wagtail - 23/9 - Redirections, homepage, recherche… #589

Workflow file for this run

name: 📚 Deploy Documentation
on:
push:
branches: [main]
# Address actions/missing-workflow-permissions rule in
# code scanning alerts
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v5
- uses: actions/setup-python@v6
with:
cache: "pip"
- name: Install uv
uses: astral-sh/setup-uv@b75a909f75acd358c2196fb9a5f1299a9a8868a4
- uses: actions/cache@v4
name: Define a cache for the virtual environment based on the dependencies lock file
with:
path: ./.venv
key: venv-dev-docs-${{ hashFiles('uv.lock') }}
- name: Install the project dependencies
run: uv sync --group docs
- name: Build the documentation
run: |
uv run make build-docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_build # Path to your built HTML files