mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 12:03: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
|
#!/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
|
# Proceed with the build
|
||||||
echo "✅ - Proceed"
|
echo "✅ - Proceed"
|
||||||
exit 1;
|
exit 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user