Skip to content

Commit 61e22e3

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

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

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

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,23 @@ 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
17+
18+
- name: Install the project
1919
run: |
20-
python3 -m pip install -U pip
21-
python3 -m pip install .[doc]
20+
uv sync --group=doc
21+
cd docs
2222
2323
- name: make docs
24-
run: |
25-
make -C docs clean
26-
make -C docs html
27-
24+
run:
25+
uv run --no-sync make html
26+
2827
- name: Init repo for generated files
2928
run: |
30-
cd docs/_build/html
29+
cd _build/html
3130
git init
3231
touch .nojekyll
3332
git add --all

0 commit comments

Comments
 (0)