adding ssh interval and alive count

This commit is contained in:
Darrel Pol 2024-09-10 23:41:35 -05:00
parent c7db12fcd7
commit d14fda1047

View file

@ -21,7 +21,7 @@ jobs:
- name: SSH into EC2 and deploy the app
run: |
ssh -o StrictHostKeyChecking=no ${{ secrets.MOONLITE_AWS_EC2_SSH_USER }}@${{ secrets.MOONLITE_AWS_EC2_SSH_HOST }} << 'EOF'
ssh -o ServerAliveInterval=60 -o ServerAliveCountMax=60 -o StrictHostKeyChecking=no ${{ secrets.MOONLITE_AWS_EC2_SSH_USER }}@${{ secrets.MOONLITE_AWS_EC2_SSH_HOST }} << 'EOF'
cd /home/ec2-user/apps/stable-diffusion-webui
git pull origin master