From 7710b47b6684d91a575633c37963e4347296d16c Mon Sep 17 00:00:00 2001 From: Erland A Syafiq Date: Sat, 1 Jun 2024 23:10:45 -0400 Subject: [PATCH] Edit runner removing -i --- .github/workflows/vtmunc-runner.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/vtmunc-runner.yml b/.github/workflows/vtmunc-runner.yml index 1b2c5e7..79a7f7b 100644 --- a/.github/workflows/vtmunc-runner.yml +++ b/.github/workflows/vtmunc-runner.yml @@ -27,7 +27,7 @@ jobs: - name: Adding contents of ssh key run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa - name: Adding known hosts - run: ssh-keyscan -H vtmunc.org -i ~/.ssh/id_rsa > ~/.ssh/known_hosts + run: ssh-keyscan -H vtmunc.org > ~/.ssh/known_hosts - name: SSH into EC2 instance run: ssh -i ~/.ssh/id_rsa webapp@vtmunc.org - name: Pull image from docker hub