Skip to content

Commit

Permalink
Added set known hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
erland-syafiq committed Jun 2, 2024
1 parent 7710b47 commit 7d5ef35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/vtmunc-runner.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 > ~/.ssh/known_hosts
run: echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
- name: SSH into EC2 instance
run: ssh -i ~/.ssh/id_rsa webapp@vtmunc.org
- name: Pull image from docker hub
Expand Down

0 comments on commit 7d5ef35

Please sign in to comment.