jointrashposs/scripts/vercel-branch-deploy-config.sh

14 lines
273 B
Bash
Raw Normal View History

#!/bin/bash
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
if [[ "$VERCEL_GIT_COMMIT_REF" == "l10n_master" ]] ; then
# Don't build
echo "🛑 - Build cancelled"
exit 0;
else
# Proceed with the build
echo "✅ - Build can proceed"
2023-12-01 13:47:19 +01:00
exit 1;
fi