Skip to content

Commit 007f5f6

Browse files
committed
Fix docs pr-preview to match standard build
1 parent 65c4657 commit 007f5f6

1 file changed

Lines changed: 11 additions & 6 deletions

File tree

.github/workflows/test_pages_build.yaml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,12 @@ jobs:
3232
with:
3333
fetch-depth: 0
3434

35+
# https://github.com/actions/setup-python
36+
- name: Set up Python 3
37+
uses: actions/setup-python@v6.0.0
38+
with:
39+
python-version: 3.13
40+
3541
# https://github.com/astral-sh/setup-uv
3642
- name: Install uv
3743
uses: astral-sh/setup-uv@v7.1.2
@@ -40,23 +46,22 @@ jobs:
4046
enable-cache: true
4147
cache-dependency-glob: "uv.lock"
4248

43-
# https://github.com/actions/setup-python
44-
- name: Set up Python 3
45-
uses: actions/setup-python@v6.0.0
46-
with:
47-
python-version: 3.13
49+
- name: Install just
50+
run: |
51+
uv tool install rust-just
4852
4953
- name: Install dependencies
5054
run: uv sync --dev --no-progress
5155

5256
- name: Build documentation
5357
run: |
58+
just gen-doc
5459
uv run mkdocs build -d site
5560
touch site/.nojekyll
5661
5762
# https://github.com/rossjrw/pr-preview-action
5863
- name: Deploy preview
5964
uses: rossjrw/pr-preview-action@v1.6.2
6065
with:
61-
source-dir: site/
66+
source-dir: docs/
6267
preview-branch: gh-pages

0 commit comments

Comments
 (0)