mirror of
https://github.com/PrivSec-dev/privsec.dev
synced 2024-09-28 13:34:42 -04:00
8 lines
112 B
Bash
8 lines
112 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$CF_PAGES_BRANCH" == "main" ]; then
|
||
|
hugo --minify
|
||
|
else
|
||
|
hugo -b $CF_PAGES_URL --minify
|
||
|
fi
|