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
8 changes: 8 additions & 0 deletions apps/marketing/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ export const config: VercelConfig = {
installCommand: "npm install -g vite-plus && vp install --filter '@t3tools/marketing...'",
buildCommand: "vp run --filter @t3tools/marketing build",
outputDirectory: "dist",
// Vercel builds this project on every push to every branch, and almost none of
// those pushes touch the site: on a busy day that is over a hundred builds and
// the account's build rate limit, which then fails unrelated pull requests and
// stalls the hosted app's release deploy. Exit 0 skips the build, anything
// else builds. The diff is against the branch's last deployed commit; when
// that commit is not in Vercel's shallow clone git fails, which builds.
ignoreCommand:
'git diff --quiet "${VERCEL_GIT_PREVIOUS_SHA:-HEAD^}" HEAD -- . ../../packages/shared ../../pnpm-lock.yaml ../../pnpm-workspace.yaml',
redirects: [{ source: "/app", destination: "https://app.pylon-code.com", permanent: true }],
// Deployments were held off while this site still carried T3's product copy
// and legal pages. Those pages are gone — Pylon publishes no terms, privacy,
Expand Down
9 changes: 9 additions & 0 deletions docs/operations/marketing-and-legal.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ practices.
workflow still deploys `apps/web` only; nothing in CI deploys the marketing
site.

Vercel's git integration would otherwise build the site on every push to every
branch. On 2026-09-18 that was well over a hundred builds of a site nobody had
touched, which hit the account's build rate limit, failed the Vercel check on
unrelated pull requests, and stalled the hosted app's release deploy (#655). The
config's `ignoreCommand` now skips a build unless `apps/marketing`,
`packages/shared`, or the lockfile changed since the branch's last deployment.
A skipped build shows as a cancelled deployment in Vercel and a neutral check
on the pull request. To force one, redeploy from the Vercel dashboard.

## Before adding a legal page back

The site currently publishes no legal documents because it does not need to.
Expand Down
Loading