From fc39e44625997cd62477c0debcfea5fc52c84f8d Mon Sep 17 00:00:00 2001 From: Jeff Date: Wed, 12 Aug 2026 16:53:51 -0400 Subject: [PATCH] Change to live and preview - live first --- .gitea/workflows/deploy.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 53a1451..2112fd0 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -34,12 +34,7 @@ jobs: run: | # Runner is on the same host as Caddy. # /deploy is mounted into the runner container → maps to /srv/docker/caddy/site on the host. - # next three lines to use 'rsync' - # echo "Syncing built site to /deploy ..." - # rsync -av --delete public/ /deploy/ - # 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 "Deploying to live site ..." + rm -rf /deploy-live/* + cp -a public/. /deploy-live/ echo "Deploy complete."