From 3bd52d0b7e629b5c615d33d198dc055139143e28 Mon Sep 17 00:00:00 2001 From: "Anthony Fu (via agent)" Date: Tue, 10 Nov 2026 07:07:57 +0000 Subject: [PATCH 1/2] ci(docs): build on Vercel only for docs and release commits --- docs/vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vercel.json b/docs/vercel.json index f444d5b6..6f616b6a 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -3,7 +3,7 @@ "framework": "nuxtjs", "buildCommand": "pnpm run docs:build", "installCommand": "pnpm install --frozen-lockfile", - "ignoreCommand": "git diff --quiet HEAD^ HEAD -- ':!content'", + "ignoreCommand": "! printf '%s\\n' \"$VERCEL_GIT_COMMIT_MESSAGE\" | head -n1 | grep -qE '^(docs(\\(.+\\))?!?:|chore: release v)'", "redirects": [ { "source": "/chat", "destination": "https://discord.com/invite/bnH3KPzfpr", "permanent": false }, { "source": "/guide/terms", "destination": "/references/terms", "permanent": true }, From 89abcdb0174e2d10c1ae49f3713e068c56deecc3 Mon Sep 17 00:00:00 2001 From: "Anthony Fu (via agent)" Date: Tue, 10 Nov 2026 07:12:52 +0000 Subject: [PATCH 2/2] ci(docs): check changed files instead of docs commit messages --- docs/vercel.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/vercel.json b/docs/vercel.json index 6f616b6a..2024606c 100644 --- a/docs/vercel.json +++ b/docs/vercel.json @@ -3,7 +3,7 @@ "framework": "nuxtjs", "buildCommand": "pnpm run docs:build", "installCommand": "pnpm install --frozen-lockfile", - "ignoreCommand": "! printf '%s\\n' \"$VERCEL_GIT_COMMIT_MESSAGE\" | head -n1 | grep -qE '^(docs(\\(.+\\))?!?:|chore: release v)'", + "ignoreCommand": "if printf '%s\\n' \"$VERCEL_GIT_COMMIT_MESSAGE\" | head -n1 | grep -q '^chore: release v'; then exit 1; fi; git diff --quiet HEAD^ HEAD -- ':/docs' ':/pnpm-workspace.yaml' ':/pnpm-lock.yaml'", "redirects": [ { "source": "/chat", "destination": "https://discord.com/invite/bnH3KPzfpr", "permanent": false }, { "source": "/guide/terms", "destination": "/references/terms", "permanent": true },