Skip to content

Commit

Permalink
Update dotnet.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
petterannerwall authored Feb 23, 2022
1 parent 0200286 commit 87b6122
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,13 @@ jobs:
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
- name: Dotnet Publish
run: dotnet publish src -c Release -o deploy
- name: Copy via ssh
uses: garygrossgarten/github-action-scp@v0.5.3
with:
local: /home/runner/work/deferat/deferat/src/deploy/
remote: ${{ secrets.TARGET }}
host: ${{ secrets.HOST }}
username: ${{ secrets.USER }}
password: ${{ secrets.SECRET }}

0 comments on commit 87b6122

Please sign in to comment.