near-models/vercel.sh
Jack Forgash 06f1b69c17 vercel
2022-10-06 21:08:44 -06:00

15 lines
228 B
Bash

#!/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