mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-05-30 11:34:30 -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
|
||||
|
||||
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
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue