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