Skip to content

ci(minting-service): only deploy Vercel from main branch#156

Merged
blove merged 1 commit into
mainfrom
fix/disable-minting-preview-deploys
May 1, 2026
Merged

ci(minting-service): only deploy Vercel from main branch#156
blove merged 1 commit into
mainfrom
fix/disable-minting-preview-deploys

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 1, 2026

Summary

  • Add git.deploymentEnabled to apps/minting-service/vercel.json whitelisting only main for deploys.
  • Stops the cacheplane-minting-service Vercel project from triggering doomed preview deployments on every PR push.

Why

Vercel's Git integration auto-deploys preview builds for every commit on every branch unless vercel.json opts out. Toggling "Preview Deployments" in the Vercel dashboard alone doesn't catch this when the project's vercel.json ships without git.deploymentEnabled. Result: every unrelated PR (e.g. website-only changes) shows a red "Vercel – cacheplane-minting-service" check.

After this lands, only commits to main will trigger a minting-service deploy. Other branches will see no Vercel attempt for this project at all.

Test plan

  • Open this PR; confirm the Vercel – cacheplane-minting-service check is absent (not failed) on this branch
  • After merge, push a tiny commit to a fresh PR branch and verify minting-service still doesn't appear in the checks list
  • Confirm a push to main still triggers a production minting-service deploy

🤖 Generated with Claude Code

Vercel's git integration was triggering preview deployments on every
PR push, surfacing as a failing required-style check on unrelated PRs.
Whitelist main as the only branch that triggers a Vercel deployment for
the cacheplane-minting-service project. PRs that don't touch this app
no longer spin up doomed preview builds.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 1, 2026

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

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 1, 2026 5:39pm
cacheplane-minting-service Error Error May 1, 2026 5:39pm

Request Review

@blove blove merged commit 7cfd1b3 into main May 1, 2026
14 of 15 checks passed
@blove blove deleted the fix/disable-minting-preview-deploys branch May 7, 2026 16:30
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