mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-21 20:31:33 -05:00
Use the latest Hugo version
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e6dccd56e6
commit
8567512998
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/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
|
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||||
hugo --minify
|
hugo --minify
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user