This commit is contained in:
Michał Zieliński
2024-11-23 21:44:54 +01:00
parent 0ad8d67c2e
commit baed3edc4d

View File

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