Skip to content

Commit

Permalink
Update dotnet-test.yml, deployment test
Browse files Browse the repository at this point in the history
  • Loading branch information
TheEmber committed Oct 29, 2023
1 parent a1fb7fc commit 8e31cc9
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/dotnet-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,18 @@ jobs:
path: TestResults-${{ matrix.dotnet-version }}
# Use always() to always run this step to publish test results when there are test failures
if: ${{ always() }}
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up SSH
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secret.SSH_KEY }}

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

0 comments on commit 8e31cc9

Please sign in to comment.