Files
discord.js/.github/check_deploy_branch.sh
2022-07-20 18:49:24 +02:00

12 lines
183 B
Bash
Executable File

#!/bin/bash
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" ]]; then
# Proceed with the build
echo "✅ - Proceed"
exit 1;
else
# Don't build
echo "🛑 - Build cancelled"
exit 0;
fi