diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1f9eb8f..7b3443a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -48,16 +48,15 @@ jobs: dotnet publish --configuration Release --framework net8.0 --runtime linux-x64 --self-contained false --output ../build_webapi - name: Compress files run: | - tar -czvf DiunaBI-webAPI.tar.gz ./build_webapi - # - name: Copy artifacts into server - #name: Upload - #uses: appleboy/scp-action@v0.1.7 - #with: - # host: "crm.bim-it.pl" - # username: "mz" - #key: ${{ secrets.SSH_KEY }} - #port: 22 - #source: "*" - #target: "/home/mz/github" + tar -czvf DiunaBI-WebAPI.tar.gz ./build_webapi + - name: Copy artifacts into server + uses: appleboy/scp-action@v0.1.7 + with: + host: "crm.bim-it.pl" + username: "mz" + key: ${{ secrets.SSH_KEY }} + port: 22 + source: "DiunaBI-WebAPI.tar.gz" + target: "/home/mz/github"