mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-22 09:31:34 -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
|
#!/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
|
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||||
hugo --minify
|
hugo --minify
|
||||||
|
Loading…
Reference in New Issue
Block a user