mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
* chore(website): use next links * chore: fix deploy check * chore: use ligher syntax highlighter
14 lines
226 B
Bash
Executable File
14 lines
226 B
Bash
Executable File
#!/bin/bash
|
|
|
|
git diff HEAD^ HEAD --quiet .
|
|
|
|
if [[ "$VERCEL_GIT_COMMIT_REF" == "main" || $? -eq 1 ]]; then
|
|
# Proceed with the build
|
|
echo "✅ - Proceed"
|
|
exit 1;
|
|
else
|
|
# Don't build
|
|
echo "🛑 - Build cancelled"
|
|
exit 0;
|
|
fi
|