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