Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
OlhaDanylevska committed Feb 24, 2024
1 parent e6400fb commit 7aaebea
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 -i ${{secrets.SSH_PRIVATE_KEY}} -o StrictHostKeyChecking=no -o BatchMode=yes -o ConnectTimeout=10 ${{ secrets.USERNAME }}@${{ secrets.AWS_HOST }} exit
# - name: Check SSH Connection
# run: |
# ssh -i ${{secrets.SSH_PRIVATE_KEY}} -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 7aaebea

Please sign in to comment.