This commit is contained in:
Michał Zieliński
2024-11-23 21:52:55 +01:00
parent d459a79d8e
commit 77af782558

View File

@@ -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"