build.sh: fix missing exit

This commit is contained in:
Starbeamrainbowlabs 2021-09-11 01:29:58 +01:00
parent d6b5a4c01e
commit 4a40e78dd7
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -5,6 +5,7 @@ current_branch="$(git rev-parse --abbrev-ref HEAD)";
if [[ "${1}" == "ci" ]] && [[ "${current_branch}" != "main" ]]; then
echo "Skipping build, because we are currently on the branch '${current_branch}', and we only deploy on the 'main' branch.";
exit 0;
fi
# ██████ ██ ██████ ██ ██ ██ ██ ██████