Skip to content

ci(vercel): disable preview deployments - #59

Merged
iamjr15 merged 1 commit into
mainfrom
ci/disable-vercel-previews
Jul 22, 2026
Merged

ci(vercel): disable preview deployments#59
iamjr15 merged 1 commit into
mainfrom
ci/disable-vercel-previews

Conversation

@iamjr15

@iamjr15 iamjr15 commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • deploy the web app automatically only from main
  • prevent pull requests and dependency branches from creating noisy or failing Vercel Preview deployments
  • retain the affected-build guard for production commits

Decision

Use Vercel's checked-in git.deploymentEnabled branch rules so the behavior is versioned with the project. * disables every branch, while the explicit main: true rule preserves production deployments because Vercel treats any matching true rule as enabled.

Scope

  • apps/web/vercel.json

Validation

  • jq empty apps/web/vercel.json
  • pnpm exec biome check apps/web/vercel.json
  • git diff --check

Deploy only the main branch to Vercel.
Stop pull requests and dependency branches from creating noisy Preview deployments.
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cheatcode Ready Ready Preview, Comment Jul 22, 2026 2:20pm

@iamjr15
iamjr15 merged commit 334bfe3 into main Jul 22, 2026
7 checks passed
@iamjr15
iamjr15 deleted the ci/disable-vercel-previews branch July 22, 2026 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant