mirror of
https://github.com/PrivSec-dev/privsec.dev.git
synced 2025-05-15 04:32:20 -04:00
Create cloudflare-build.sh (#128)
Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
parent
0a1d5a899e
commit
a12c7d3231
1 changed files with 7 additions and 0 deletions
7
cloudflare-build.sh
Normal file
7
cloudflare-build.sh
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||||
hugo --minify
|
||||
else
|
||||
hugo -b $CF_PAGES_URL --minify
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue