mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-09 11:41:34 -05:00
Update cloudflare-build.sh
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
6ac2c25da6
commit
aa695b4bc3
@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$CF_PAGES_BRANCH" == "production" ]; then
|
||||
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||
hugo --minify
|
||||
else
|
||||
hugo -b $CF_PAGES_URL --minify
|
||||
|
Loading…
Reference in New Issue
Block a user