File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 4444 - name : 🔎 Validate
4545 run : pnpm run test
4646
47-
4847 build-docs :
4948 if : ${{ github.event_name == 'pull_request' }}
5049 name : Build Docs
5352 - name : Checkout
5453 uses : actions/checkout@v4
5554 with :
56- ref : ${{ github.head_ref }} # ← checkout the PR head branch
55+ # checkout the PR head branch
56+ ref : ${{ github.head_ref }}
5757 fetch-depth : 0
5858
5959 - name : Setup pnpm
@@ -93,14 +93,13 @@ jobs:
9393 path : docs/app/utils/versions.ts
9494 if-no-files-found : error
9595
96-
9796 deploy-docs-pr-preview :
9897 if : ${{ github.event_name == 'pull_request' }}
9998 needs : [lint, validate, build-docs]
10099 name : Deploy Docs PR Preview
101100 runs-on : ubuntu-latest
102101 steps :
103- - uses : actions/checkout@v4
102+ - uses : actions/checkout@v4
104103
105104 - name : Download generated docs (tgz)
106105 uses : actions/download-artifact@v4
Original file line number Diff line number Diff line change @@ -23,8 +23,6 @@ RUN pnpm install --prod=false
2323# Copy the application (including the previously downloaded artifact under docs/)
2424COPY . .
2525
26- # IMPORTANT: we no longer generate docs here; they were provided by CI
27- # Build the app (should read from docs/generated-docs/* and versions.ts that CI uploaded)
2826RUN pnpm run build
2927
3028# Prune dev deps
You can’t perform that action at this time.
0 commit comments