chore(CI): added build-filter.sh to only deploy master and development branch

This commit is contained in:
Adnan Zahir
2025-10-21 10:20:09 +07:00
parent f733b0750a
commit 1a5a76c0f1
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
if [[ "$VERCEL_GIT_COMMIT_REF" == "master" || "$VERCEL_GIT_COMMIT_REF" == "development" ]]; then
echo "✅ - Build can proceed"
exit 1
else
echo "🛑 - Build cancelled"
exit 0
fi