ci: fix vercel deploy check

This commit is contained in:
iCrawl 2022-07-20 19:03:48 +02:00
parent 07a5cd7048
commit 45c9659080
No known key found for this signature in database
GPG key ID: 1AB888B16355FBB2

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;