From 5d49676cf5907bfeca403af5f7d4c6a66e7c10d4 Mon Sep 17 00:00:00 2001 From: Francesco Bonacci Date: Sun, 26 Apr 2026 17:44:32 -0700 Subject: [PATCH] ci(docs): skip Vercel preview builds when docs/ unchanged MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Vercel was deploying a preview for every PR even when nothing under docs/ changed (e.g. cua-driver-only PRs). Add an ignoreCommand that exits 0 — i.e. skip — when git diff finds no changes scoped to the project root (docs/). Co-Authored-By: Claude Opus 4.7 (1M context) --- docs/vercel.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/vercel.json b/docs/vercel.json index 447f313a96..e18dc7f1f4 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -4,5 +4,6 @@ "path": "/docs/api/cron/prompt-digest", "schedule": "17 4 * * 2-6" } - ] + ], + "ignoreCommand": "git diff --quiet HEAD^ HEAD ./" }