mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-12-21 20:31:33 -05:00
Disable minify for preview on Cloudflare
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
19efe80b55
commit
e5993f32be
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user