Skip to content

Commit 07e335c

Browse files
authored
Fix manual deploy docs workflow (#1322)
1 parent 8a06a58 commit 07e335c

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

.github/workflows/manually-deploy-docs.yml

+34-1
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,41 @@ on:
44
workflow_dispatch:
55

66
jobs:
7-
# Note: this should match the `deploy-docs` job in ci.yml
7+
build-docs-manual:
8+
# Note: this should match the `docs` job in ci.yml
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v4
12+
13+
- uses: astral-sh/setup-uv@v5
14+
with:
15+
enable-cache: true
16+
17+
- run: uv sync --group docs
18+
19+
# always build docs to check it works without insiders packages
20+
- run: make docs
21+
22+
- run: make docs-insiders
23+
env:
24+
PPPR_TOKEN: ${{ secrets.PPPR_TOKEN }}
25+
26+
- run: tree -sh site
27+
- uses: actions/setup-node@v4
28+
- run: npm install
29+
working-directory: docs-site
30+
- run: npm run typecheck
31+
working-directory: docs-site
32+
33+
- name: Store docs
34+
uses: actions/upload-artifact@v4
35+
with:
36+
name: site
37+
path: site
38+
839
deploy-docs-manual:
40+
# Note: this should match the `deploy-docs` job in ci.yml
41+
needs: [build-docs-manual]
942
runs-on: ubuntu-latest
1043
environment:
1144
name: deploy-docs

0 commit comments

Comments
 (0)