mirror of
https://github.com/discordjs/discord.js.git
synced 2024-08-21 22:54:41 +12:00
ci: fix vercel deploy check
This commit is contained in:
parent
07a5cd7048
commit
45c9659080
1 changed files with 3 additions and 1 deletions
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;
|
||||
|
|
Loading…
Reference in a new issue