1
0
mirror of https://github.com/tommytran732/tommytran.io synced 2024-09-19 14:44:43 -04:00

Disable goproxy

Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
Thien Tran 2023-06-16 05:15:09 -07:00
parent ded8204621
commit af149dbefc
No known key found for this signature in database
GPG Key ID: 060B29EB996BD9F2

View File

@ -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