jointrashposs/scripts/vercel-branch-deploy-config.sh
2023-12-01 21:47:19 +09:00

14 lines
No EOL
273 B
Bash

#!/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"
exit 1;
fi