Skip to content

fix(ci): only deploy to Vercel when landing/ changes#2

Merged
pango07 merged 1 commit intomasterfrom
fix/vercel-landing-ignore
Apr 28, 2026
Merged

fix(ci): only deploy to Vercel when landing/ changes#2
pango07 merged 1 commit intomasterfrom
fix/vercel-landing-ignore

Conversation

@aaddrriann
Copy link
Copy Markdown
Collaborator

What

Adds a vercel.json that tells Vercel to only build when files inside landing/ change.

Why

Without this, Vercel triggers a build on every push — including Electron app changes
that have nothing to do with the landing page. This adds CI noise and wastes build minutes.

Changes

  • vercel.json (new): sets ignoreCommand to a git diff scoped to landing/
    exits 0 (skip) when no landing changes detected, exits 1 (proceed) when they are

Testing

  1. Push a commit touching only Electron source (src/, package.json) — Vercel skips
  2. Push a commit touching any file under landing/ — Vercel builds

Vercel ignore command:
- Previous value exit 1 always triggered builds — replaced with a
  git diff check scoped to landing/ so Electron CI noise is
  eliminated and only actual landing page changes ship to Vercel.
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 27, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
flicky Ignored Ignored Apr 27, 2026 6:00pm

Request Review

@pango07 pango07 merged commit 97086d8 into master Apr 28, 2026
6 checks passed
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.

2 participants