Skip to content

Commit bcca889

Browse files
committed
fixed ssh connection timeout
1 parent 3847821 commit bcca889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,6 @@ jobs:
101101
SSH_HOST: ${{ secrets.SSH_HOST }}
102102
run: |
103103
scp -o StrictHostKeyChecking=no bin/deploy.sh $SSH_HOST:~/deploy.sh
104-
ssh -o StrictHostKeyChecking=no $SSH_HOST './deploy.sh'
104+
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=5 -o StrictHostKeyChecking=no $SSH_HOST './deploy.sh'
105105
ssh -o StrictHostKeyChecking=no $SSH_HOST 'rm ./deploy.sh'
106106
shell: bash

0 commit comments

Comments
 (0)