mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
ci: fix vercel deploy check
This commit is contained in:
4
.github/check_deploy_branch.sh
vendored
4
.github/check_deploy_branch.sh
vendored
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" ]]; then
|
||||
git diff HEAD^ HEAD --quiet .
|
||||
|
||||
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" && $? -eq 1 ]]; then
|
||||
# Proceed with the build
|
||||
echo "✅ - Proceed"
|
||||
exit 1;
|
||||
|
||||
Reference in New Issue
Block a user