Merge pull request #118 from MetricsDAO/vercel2

vercel
This commit is contained in:
Jack Forgash 2022-10-06 21:09:49 -06:00 committed by GitHub
commit dc913c7715
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
vercel.sh Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
echo "VERCEL_ENV: $VERCEL_ENV"
if [[ "$VERCEL_ENV" == "production" ]] ; then
# Proceed with the build
echo "✅ - Build can proceed"
exit 1;
else
# Don't build
echo "🛑 - Build cancelled"
exit 0;
fi