Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,10 @@ jobs:
# (Runs with the main checkout's docs toolchain — tsx lives there.)
pnpm --filter ./docs exec tsx "$GITHUB_WORKSPACE/.github/scripts/inject-docs-version-nav.ts" \
/tmp/stable-docs/docs/.vitepress
# Brand assets follow main, not the tag: the stable site is the landing page,
# and a tag cut before a rebrand would otherwise serve the old logo forever.
rm -rf /tmp/stable-docs/docs/public
cp -r docs/public /tmp/stable-docs/docs/public
cd /tmp/stable-docs
pnpm install --frozen-lockfile
pnpm --filter ./docs exec turbo build
Expand Down
4 changes: 4 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
},
"@temporal-contract/docs#build": {
"dependsOn": ["^build", "^build:docs"],
// deploy-docs.yml passes these to build the versioned (/beta/) site; turbo's
// strict env mode drops anything undeclared, which silently builds the beta
// site with the root base and 404s every asset.
"env": ["DOCS_BASE", "DOCS_VERSIONS"],
"outputs": [".vitepress/dist/**"]
},
"check:package": {
Expand Down
Loading