Refactor how the project is run, using nginx instead of hugo server, a cron job to pull git changes, and a start script to ensure the correct services are started each run and are monitored to stay up.

This commit is contained in:
2025-08-15 11:45:23 -07:00
parent dfb9a306c5
commit d035f9d8e7
6 changed files with 112 additions and 17 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
cd /var/www/hugo/site
git pull
hugo --gc --minify
rm -rfv /var/www/html/*
cp -rfv public/* /var/www/html/