mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-14 21:10:34 +01:00
14 lines
261 B
Bash
14 lines
261 B
Bash
#!/bin/bash
|
|
|
|
echo "VERCEL_GIT_COMMIT_REF: $VERCEL_GIT_COMMIT_REF"
|
|
|
|
if [[ "$VERCEL_GIT_COMMIT_REF" != "analytics" ]] ; then
|
|
# Proceed with the build
|
|
echo "✅ - Build can proceed"
|
|
exit 1;
|
|
|
|
else
|
|
# Don't build
|
|
echo "🛑 - Build cancelled"
|
|
exit 0;
|
|
fi |