From aa695b4bc342e826c0804164ca7ba0573bb9d192 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 16 Jun 2023 00:09:41 -0700 Subject: [PATCH] Update cloudflare-build.sh Signed-off-by: Tommy --- cloudflare-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudflare-build.sh b/cloudflare-build.sh index 484be76..3f4c924 100644 --- a/cloudflare-build.sh +++ b/cloudflare-build.sh @@ -1,6 +1,6 @@ #!/bin/bash -if [ "$CF_PAGES_BRANCH" == "production" ]; then +if [ "$CF_PAGES_BRANCH" == "main" ]; then hugo --minify else hugo -b $CF_PAGES_URL --minify