diff --git a/cloudflare-build.sh b/cloudflare-build.sh index c6018ee..550344d 100644 --- a/cloudflare-build.sh +++ b/cloudflare-build.sh @@ -1,6 +1,10 @@ #!/bin/bash -CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest +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