mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-11-13 21:41:33 -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
|
#!/bin/bash
|
||||||
|
|
||||||
if [ "$CF_PAGES_BRANCH" == "production" ]; then
|
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||||
hugo --minify
|
hugo --minify
|
||||||
else
|
else
|
||||||
hugo -b $CF_PAGES_URL --minify
|
hugo -b $CF_PAGES_URL --minify
|
||||||
|
Loading…
Reference in New Issue
Block a user