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 07d5cbf commit 66caee8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
with:
ssh-private-key: ${{ secrets.SSH_KEY }}

- name: Add server to known hosts
run: ssh-keyscan -H ${{ secrets.SSH_USERNAME }}@{{ secrets.SSH_IP }} > ~/.ssh/known_hosts

- name: SSH to machine and deploy
run: |
ssh ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_IP }} "cd $ && touch test"

0 comments on commit 66caee8

Please sign in to comment.