Skip to content

Commit

Permalink
Add parameter to keep alive the ssh connection during the delivery
Browse files Browse the repository at this point in the history
  • Loading branch information
botisSmile committed Oct 24, 2024
1 parent 5991386 commit 90c52e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-int.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
MEDIA_URL: ${{ secrets.MEDIA_URL }}
run: |
echo "$PRIVATE_KEY" > private_key && chmod 600 private_key
ssh -o StrictHostKeyChecking=no -i private_key ${USER_NAME}@${HOSTNAME} "
ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=30 -i private_key ${USER_NAME}@${HOSTNAME} "
cd /home/ubuntu/ &&
[ -d gally ] || git clone https://github.com/Elastic-Suite/gally.git gally &&
cd /home/ubuntu/gally &&
Expand Down

0 comments on commit 90c52e7

Please sign in to comment.