Skip to content

Commit c8dde40

Browse files
committed
ci: build doc with uv
1 parent 2cc1c9d commit c8dde40

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/static-gh-pages.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ jobs:
1010
name: publish documentation
1111
steps:
1212
- uses: actions/checkout@v4
13-
- name: Setup Python
14-
uses: actions/setup-python@v4
13+
- name: Install uv
14+
uses: astral-sh/setup-uv@v5
1515
with:
1616
python-version: '3.10'
17-
18-
- name: install dependencies pip
19-
run: |
20-
python3 -m pip install -U pip
21-
python3 -m pip install .[doc]
17+
18+
- name: Install the project
19+
run:
20+
uv sync --group=doc
21+
2222

2323
- name: make docs
2424
run: |
25-
make -C docs clean
26-
make -C docs html
27-
25+
cd docs
26+
uv run --no-sync make html
27+
2828
- name: Init repo for generated files
2929
run: |
3030
cd docs/_build/html

0 commit comments

Comments
 (0)