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 <noreply@anthropic.com>
This commit is contained in:
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user