diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index b11979b..53a1451 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -34,6 +34,12 @@ 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 ..." - rsync -av --delete public/ /deploy/ + rm -rf /deploy/* + cp -a public/. /deploy/ echo "Deploy complete."