Skip to content

Commit

Permalink
Update deploy-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OlhaDanylevska committed Feb 21, 2024
1 parent cf7b4ed commit f84d6da
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
aws-secret-access-key: ${{ secrets.AWS_EC2_SECRET_ACCESS_KEY }}
aws-region: eu-west-2

- name: Check SSH Connection
run: |
ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=10 ${{ secrets.USERNAME }}@${{ secrets.AWS_HOST }} exit
# - name: Check SSH Connection
# run: |
# ssh -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=10 ${{ secrets.USERNAME }}@${{ secrets.AWS_HOST }} exit

- name: Checkout code
uses: actions/checkout@v2
Expand Down

0 comments on commit f84d6da

Please sign in to comment.