diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 935366b..30947ae 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -32,3 +32,4 @@ jobs: chmod 600 ~/.ssh/id_rsa.pub chmod 600 ~/.ssh/id_rsa ssh-keyscan -p ${{ secrets.REMOTE_PORT }} -t rsa gradml.mit.edu>> ~/.ssh/known_hosts + ssh -p ${{ secrets.REMOTE_PORT }} -i ~/.ssh/id_rsa ${{ secrets.REMOTE_USER }}@${{ secrets.REMOTE_HOST }}