We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71ffdd5 commit f31cc69Copy full SHA for f31cc69
1 file changed
.github/workflows/deploy_docs.yml
@@ -15,17 +15,14 @@ jobs:
15
- uses: actions/checkout@v4
16
with:
17
fetch-depth: 0
18
- - uses: actions/setup-python@v5
+ - uses: astral-sh/setup-uv@v6
19
20
- python-version: "3.x"
21
- - run: |
22
- python -m pip install --upgrade pip
23
- python -m pip install -e .[docs]
+ enable-cache: true
24
25
- name: Deploy docs to GitHub Pages
26
if: github.event_name == 'push'
27
- run: mkdocs gh-deploy --strict --force
+ run: uv run --group docs mkdocs gh-deploy --strict --force
28
29
- name: Test that docs build without error
30
if: github.event_name == 'pull_request'
31
- run: mkdocs build --strict
+ run: uv run --group docs mkdocs build --strict
0 commit comments