1
0
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:
Tommy 2023-06-16 05:19:15 -07:00 committed by GitHub
parent e6dccd56e6
commit 8567512998
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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