Skip to content

Commit 49987a6

Browse files
fix(ci): pass SSH keep-alive via rsh param and drop redundant compression
The `options` parameter does not exist in burnett01/rsync-deployments, so SSH keep-alive settings were silently ignored, causing broken pipe errors on large transfers. Move them to the correct `rsh` parameter, remove `-z` (images are already compressed), and add `--timeout=300`. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 567b745 commit 49987a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,8 @@ jobs:
204204
- name: Deploy artifacts
205205
uses: burnett01/rsync-deployments@7.0.1
206206
with:
207-
switches: -vzrt --delete --chmod=D755,F644
208-
options: -o ServerAliveInterval=60 -o ServerAliveCountMax=30 -o StrictHostKeyChecking=no
207+
switches: -vrt --delete --chmod=D755,F644 --timeout=300
208+
rsh: -o ServerAliveInterval=60 -o ServerAliveCountMax=30
209209
path: public/
210210
remote_path: ${{ secrets.DEPLOY_SSH_DIR }}
211211
remote_host: ${{ secrets.DOCS_SSH_HOST }}

0 commit comments

Comments
 (0)