Skip to content

Commit 21fa576

Browse files
authored
ci(docs): build on Vercel only for docs changes and releases (#489)
1 parent b58a2f4 commit 21fa576

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎docs/vercel.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"framework": "nuxtjs",
44
"buildCommand": "pnpm run docs:build",
55
"installCommand": "pnpm install --frozen-lockfile",
6-
"ignoreCommand": "git diff --quiet HEAD^ HEAD -- ':!content'",
6+
"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'",
77
"redirects": [
88
{ "source": "/chat", "destination": "https://discord.com/invite/bnH3KPzfpr", "permanent": false },
99
{ "source": "/guide/terms", "destination": "/references/terms", "permanent": true },

0 commit comments

Comments
 (0)