Skip to content

Commit b31f068

Browse files
author
abrulic
committed
comments
1 parent 4dd6148 commit b31f068

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

.github/workflows/validate.yaml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
- name: 🔎 Validate
4545
run: pnpm run test
4646

47-
4847
build-docs:
4948
if: ${{ github.event_name == 'pull_request' }}
5049
name: Build Docs
@@ -53,7 +52,8 @@ jobs:
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

docs/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ RUN pnpm install --prod=false
2323
# Copy the application (including the previously downloaded artifact under docs/)
2424
COPY . .
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)
2826
RUN pnpm run build
2927

3028
# Prune dev deps

0 commit comments

Comments
 (0)