Skip to content

Commit 2a71056

Browse files
authored
Merge pull request #12 from tinypluginlabs/copilot/fix-rsync-error-in-deploy-workflow
Fix rsync error 23 in deploy-website workflow
2 parents b3fc3f4 + d7254a1 commit 2a71056

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-website.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ jobs:
9292
# -r: recursive, -t: preserve times, -v: verbose, -z: compress
9393
# -L: follow symlinks and copy actual files (prevents error 23 with broken symlinks)
9494
# --no-perms --no-owner --no-group: don't preserve ownership/permissions (may not be allowed on server)
95+
# --omit-dir-times: skip setting timestamps on directories (managed hosting often restricts this)
9596
# --delete: remove files on destination that don't exist in source
96-
rsync -rtvzL --no-perms --no-owner --no-group -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes" --delete \
97+
rsync -rtvzL --no-perms --no-owner --no-group --omit-dir-times -e "ssh -i ~/.ssh/id_ed25519 -o StrictHostKeyChecking=yes" --delete \
9798
dist/packages/playground/wasm-wordpress-net/ \
9899
${{ secrets.CLOUDWAYS_SSH_USER }}@${{ secrets.CLOUDWAYS_SSH_HOST }}:${{ secrets.CLOUDWAYS_DEPLOY_PATH }}
99100

0 commit comments

Comments
 (0)