mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-06-05 13:19:42 -04:00
Use the latest Hugo version
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
e6dccd56e6
commit
8567512998
1 changed files with 6 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue