Skip to content

Commit e1db3fd

Browse files
committed
add new build doc workflow
1 parent 009beb9 commit e1db3fd

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/build-doc.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build Documentation
2+
3+
on:
4+
push:
5+
branches:
6+
- migrate-to-gh-actions
7+
pull_request:
8+
branches:
9+
- migrate-to-gh-actions
10+
11+
jobs:
12+
build-doc:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v6
16+
17+
- name: Install uv
18+
uses: astral-sh/setup-uv@v7
19+
with:
20+
python-version: "3.9"
21+
22+
- name: Install system dependencies
23+
run: sudo apt-get update && sudo apt-get install rename
24+
25+
- name: Install doc dependencies
26+
run: |
27+
cd doc
28+
uv venv
29+
uv pip install -r requirements.txt
30+
uv pip install -e ..
31+
32+
- name: List installed packages
33+
run: |
34+
cd doc
35+
uv pip list

0 commit comments

Comments
 (0)