From 8efceeaa4c5ec4204ec2176e8c3136fb15672cd4 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 31 Jul 2023 19:56:31 +0100 Subject: [PATCH] build: switch to deploying the website from dev rather than main --- build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index ef26942..62a041b 100755 --- a/build.sh +++ b/build.sh @@ -2,10 +2,10 @@ set -e; # current_branch="$(git rev-parse --abbrev-ref HEAD)"; -is_main="$(git branch --contains HEAD | awk '/HEAD/ { next } /main/ { print $1 }')"; +is_main="$(git branch --contains HEAD | awk '/HEAD/ { next } /dev/ { print $1 }')"; if [[ "${1}" == "ci" ]] && [[ ! -z "${is_main}" ]]; then - echo "Skipping build, because this commit does not appear to be on the 'main' branch, and we only deploy commits on the 'main' branch."; + echo "Skipping build, because this commit does not appear to be on the 'dev' branch, and we only deploy commits on the 'main' branch."; fi # ██████ ██ ██████ ██ ██ ██ ██ ██████