mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-09 11:41:34 -05:00
Install the latest Hugo
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
aa695b4bc3
commit
ded8204621
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
|
||||
|
||||
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||
hugo --minify
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user