Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1uckyCat authored Oct 16, 2023
1 parent 50569cb commit 0393f7b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,13 @@ jobs:
with:
dotnet-version: '7.0.x' # SDK Version to use.
- run: dotnet publish -c Release -r linux-x64 --self-contained MyOwnGame.Backend
- name: copy file via ssh password
uses: appleboy/[email protected]
with:
host: ${{ secrets.SSH_SERVER }}
username: ${{ secrets.SSH_USER }}
password: ${{ secrets.SSH_PASSWORD }}
port: ${{ secrets.SSH_PORT }}
source: "/home/runner/work/MyOwnGame/MyOwnGame/MyOwnGame.Backend/bin/Release/net7.0/linux-x64/publish/*"
target: "~/sigame"
rm: true

0 comments on commit 0393f7b

Please sign in to comment.