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

View File

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