From b0b87d24c45bce02ab80719dad21883820bb76fc Mon Sep 17 00:00:00 2001 From: svemagie <869694+svemagie@users.noreply.github.com> Date: Mon, 16 Mar 2026 21:38:05 +0100 Subject: [PATCH] fix(deploy): exclude content/.indiekit/ from rsync --delete This directory is managed by the node jail, not by the build. rsync was trying to delete homepage.json (placed by the other jail) and failing with permission denied. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 11fb6d0..94e8d18 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -116,6 +116,7 @@ jobs: ssh-keyscan -p 222 ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts 2>/dev/null cp .env _site/.env rsync -rlz --delete \ + --exclude='content/.indiekit/' \ -e "ssh -p 222" \ _site/ \ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/usr/local/bastille/jails/web/root/usr/local/www/blog/