Compare commits

...

1 Commits

Author SHA1 Message Date
Adnan Zahir f11caac3ff chore(CI): added build-filter.sh to only deploy master and development branch 2025-10-21 10:16:55 +07:00
+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