1
0
mirror of https://github.com/tommytran732/tommytran.io synced 2024-09-19 14:44:43 -04:00

Disable minify for preview on Cloudflare

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-06-25 07:16:07 -07:00 committed by GitHub
parent 4695c66bdb
commit c85f195d55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,5 +8,5 @@ chmod u+x ./hugo
if [ "$CF_PAGES_BRANCH" == "main" ]; then if [ "$CF_PAGES_BRANCH" == "main" ]; then
./hugo --minify ./hugo --minify
else else
./hugo -b "$CF_PAGES_URL" --minify ./hugo -b "$CF_PAGES_URL"
fi fi