Skip to content

Commit 207e3db

Browse files
authored
Set ServerAliveInterval=3 during deployment to keep server connection alive.
1 parent 7315a00 commit 207e3db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,5 @@ jobs:
5252
SOURCE: 'build/'
5353
REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
5454
REMOTE_USER: ${{ secrets.REMOTE_USER }}
55+
SSH_CMD_ARGS: '-o StrictHostKeyChecking=no -o ServerAliveInterval=3'
5556
TARGET: ${{ secrets.REMOTE_TARGET }}

0 commit comments

Comments
 (0)