Improve Hugo Configuration #9

Merged
me merged 9 commits from dev into main 2025-08-17 17:06:12 -07:00
Showing only changes of commit ddeadcf723 - Show all commits

View File

@@ -2,9 +2,10 @@
cd /var/www/hugo/site
git pull
hugo --gc --minify
git pull && hugo --gc --minify
status="$?"
if [[ $status == 0 && -e public/* ]]; then
rm -rfv /var/www/html/*
cp -rfv public/* /var/www/html/
mv -rfv public/* /var/www/html/
fi