From 43fe651ed29c593083e8ee70f71f288420f366a3 Mon Sep 17 00:00:00 2001 From: Parth Gupta Date: Tue, 5 Sep 2023 01:31:04 +0530 Subject: [PATCH] fix: ssh issue, attempt 2 --- .github/workflows/react-build-export.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/react-build-export.yml b/.github/workflows/react-build-export.yml index 3380296..1773d84 100644 --- a/.github/workflows/react-build-export.yml +++ b/.github/workflows/react-build-export.yml @@ -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 }} \ No newline at end of file