-
Notifications
You must be signed in to change notification settings - Fork 2
36 lines (34 loc) · 891 Bytes
/
doc-build.yml
File metadata and controls
36 lines (34 loc) · 891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# This is a simple action to check that the documentation is building.
# Note the real documentation build is done by readthedocs externally, and none of the files created in this action are used.
name: documentation-build
on:
push:
branches:
- "**"
tags:
- "docs-v*.*.*"
paths:
- "docs/**"
- ".github/workflows/doc-build**"
release:
types: [published]
defaults:
run:
working-directory: ./docs
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install uv for Python 3.13
uses: astral-sh/setup-uv@v6
with:
python-version: 3.13
enable-cache: true
cache-dependency-glob: "docs/uv.lock"
- name: Install the project
run: |
uv sync --all-extras
- name: Build documentation
run: |
uv run mkdocs build