Skip to content

Commit f31cc69

Browse files
committed
fix docs
1 parent 71ffdd5 commit f31cc69

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/deploy_docs.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,14 @@ jobs:
1515
- uses: actions/checkout@v4
1616
with:
1717
fetch-depth: 0
18-
- uses: actions/setup-python@v5
18+
- uses: astral-sh/setup-uv@v6
1919
with:
20-
python-version: "3.x"
21-
- run: |
22-
python -m pip install --upgrade pip
23-
python -m pip install -e .[docs]
20+
enable-cache: true
2421

2522
- name: Deploy docs to GitHub Pages
2623
if: github.event_name == 'push'
27-
run: mkdocs gh-deploy --strict --force
24+
run: uv run --group docs mkdocs gh-deploy --strict --force
2825

2926
- name: Test that docs build without error
3027
if: github.event_name == 'pull_request'
31-
run: mkdocs build --strict
28+
run: uv run --group docs mkdocs build --strict

0 commit comments

Comments
 (0)