Change to live and preview - live first
Build and Deploy Hugo Site / build-and-deploy (push) Successful in 9m57s

This commit is contained in:
2026-08-12 16:53:51 -04:00
parent 189a070b77
commit fc39e44625
+3 -8
View File
@@ -34,12 +34,7 @@ jobs:
run: | run: |
# Runner is on the same host as Caddy. # Runner is on the same host as Caddy.
# /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host. # /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host.
# next three lines to use 'rsync' echo "Deploying to live site ..."
# echo "Syncing built site to /deploy ..." rm -rf /deploy-live/*
# rsync -av --delete public/ /deploy/ cp -a public/. /deploy-live/
# echo "Deploy complete."
# next 4 lines to just use cli commands
echo "Syncing built site to /deploy ..."
rm -rf /deploy/*
cp -a public/. /deploy/
echo "Deploy complete." echo "Deploy complete."