Skip to content

Commit

Permalink
Update dotnet-test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEmber authored Oct 29, 2023
1 parent 73a4a01 commit a5a9cf3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ jobs:

- name: Add server to known hosts
run: |
echo "$SSH_IP" | xargs -I % ssh-keyscan -H % >> $HOME/.ssh/known_hosts
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
env:
SSH_KNOWN_HOSTS: ${{ secrets.SSH_KNOWN_HOST }}

- name: SSH to machine and deploy
run: |
Expand Down

0 comments on commit a5a9cf3

Please sign in to comment.