Fix vercel not deploying even if commit before last has changes

This commit is contained in:
MartinBraquet
2026-03-07 13:29:35 +01:00
parent a5f7898c37
commit 0bc82a3bcf

View File

@@ -9,5 +9,5 @@
"headers": [{"key": "Cache-Control", "value": "no-cache"}]
}
],
"ignoreCommand": "git fetch --depth=2 && git diff HEAD^ HEAD --quiet -- ./ ../common/"
"ignoreCommand": "git fetch --unshallow 2>/dev/null || true && git diff $VERCEL_GIT_PREVIOUS_SHA $VERCEL_GIT_COMMIT_SHA --quiet -- ./ ../common/"
}