Dashboard: factorize template #253
Workflow file for this run
This file contains 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: Build Documentation using MkDocs | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Build Documentation | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: Install Debian dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install -qq libegl1 | |
- name: Git checkout | |
uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v3 | |
with: | |
enable-cache: true | |
cache-dependency-glob: uv.lock | |
- name: Set up Python | |
run: uv python install | |
- name: Create .venv | |
run: uv venv | |
- name: Patch Python install | |
run: uvx --isolated --from "git+https://github.com/bluss/sysconfigpatcher" sysconfigpatcher $(dirname $(dirname $(readlink .venv/bin/python))) | |
- name: Install the packages | |
run: uv sync | |
- name: Build doc | |
run: uv run mkdocs build | |
- name: Minimize uv cache | |
run: uv cache prune --ci |