Scheduling infrastructure for absolutely everyone.
Adds script to regulate staging deploys (#1979)
Omar Lópezc6169607aeb9
diff --git a/scripts/staging-deploy.sh b/scripts/staging-deploy.shnew file mode 100755index 00000000000..2c86b46f587--- /dev/null+++ b/scripts/staging-deploy.sh@@ -0,0 +1,15 @@+#!/bin/bash++echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"++if [[ "$VERCEL_GIT_COMMIT_REF" == "staging" ]] ; then+ # Proceed with the build+ echo "✅ - Build can proceed"+ ./vercel.sh+ exit 1;++else+ # Don't build+ echo "🛑 - Build cancelled"+ exit 0;+fi