diff --git a/build.sh b/build.sh index 504abc6..c92e7a9 100755 --- a/build.sh +++ b/build.sh @@ -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 # ██████ ██ ██████ ██ ██ ██ ██ ██████