diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1e492e1..27dd382 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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/scp-action@v0.1.4 + 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