Skip to content

Commit

Permalink
fix(scripts): typo in vercel-ignore-build-step.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
charlypoly committed Feb 15, 2022
1 parent 90a46a0 commit eff6d76
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions scripts/vercel-ignore-build-step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@

echo "VERCEL_GIT_COMMIT_AUTHOR_LOGIN: $VERCEL_GIT_COMMIT_AUTHOR_LOGIN"

if [[ "$VERCEL_GIT_COMMIT_AUTHOR_LOGIN" == "renovate-bot"]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;

else
if [ "$VERCEL_GIT_COMMIT_AUTHOR_LOGIN" == "renovate-bot" ]; then
# Don't build
echo "🛑 - Renovate Build cancelled"
exit 0;
else
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
fi

1 comment on commit eff6d76

@vercel
Copy link

@vercel vercel bot commented on eff6d76 Feb 15, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.