mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-22 01:21:33 -05:00
Disable goproxy
Signed-off-by: Thien Tran <contact@tommytran.io>
This commit is contained in:
parent
ded8204621
commit
af149dbefc
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user