diff --git a/cloudflare-build.sh b/cloudflare-build.sh index 3f4c924..550344d 100644 --- a/cloudflare-build.sh +++ b/cloudflare-build.sh @@ -1,5 +1,11 @@ #!/bin/bash +export GOPROXY=direct +export GOSUMD=off +export CGO_ENABLED=1 + +go install -tags extended github.com/gohugoio/hugo@latest + if [ "$CF_PAGES_BRANCH" == "main" ]; then hugo --minify else