Skip to content

Commit

Permalink
fix: ssh issue, attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthGupta2510 committed Sep 4, 2023
1 parent 79a0025 commit 43fe651
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/react-build-export.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:

- name: SSH into remote server
run: |
ssh -i - ubuntu@ec2-65-1-222-220.ap-south-1.compute.amazonaws.com 'cd ./tsg-backend/ && ./.git/hooks/post-receive' <<< ${{ secrets.SERVER_SSH_KEY }}
SSH_ASKPASS=/bin/true ssh -o StrictHostKeyChecking=no -i - ubuntu@ec2-65-1-222-220.ap-south-1.compute.amazonaws.com 'cd ./tsg-backend/ && ./.git/hooks/post-receive' <<< "${{ secrets.SERVER_SSH_KEY }}"
env:
SERVER_SSH_KEY: ${{ secrets.SERVER_SSH_KEY }}

0 comments on commit 43fe651

Please sign in to comment.