mirror of
https://github.com/tommytran732/tommytran.io
synced 2024-09-19 14:44:43 -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
|