mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-22 09:31: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
|
#!/bin/bash
|
||||||
|
|
||||||
|
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