ci: fix vercel deploy check

This commit is contained in:
iCrawl
2022-07-20 19:03:48 +02:00
parent 07a5cd7048
commit 45c9659080
+3 -1
View File
@@ -1,6 +1,8 @@
#!/bin/bash
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" ]]; then
git diff HEAD^ HEAD --quiet .
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" && $? -eq 1 ]]; then
# Proceed with the build
echo "✅ - Proceed"
exit 1;