Skip to content

Commit

Permalink
chore: added vercel.sh - build
Browse files Browse the repository at this point in the history
  • Loading branch information
rupali-codes committed Oct 26, 2023
1 parent 2402ce6 commit a656922
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions vercel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if [[ $VERCEL_ENV == "production" ]] ; then
git log -1 --pretty=oneline --abbrev-commit | grep -w "build" && exit 1 || exit 0
else
exit 1
fi

1 comment on commit a656922

@vercel
Copy link

@vercel vercel bot commented on a656922 Oct 26, 2023

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.