WIP: Build & Release

This commit is contained in:
Michał Zieliński
2025-02-12 18:12:24 +01:00
parent c7188a34fa
commit e01a1dabeb
2 changed files with 10 additions and 1 deletions

View File

@@ -62,4 +62,4 @@ jobs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: webapi name: webapi
path: WebAPI/WebApiBuild path: WebAPI/WebApiBuild

View File

@@ -78,3 +78,12 @@ jobs:
- name: List artifacts - name: List artifacts
run: ls -la . run: ls -la .
- name: Send frontend archive to remote server
env:
SSH_PRIVATE_KEY: ${{ secrets.PROD_SRV_PRIVATE_KEY }}
run: |
echo "${SSH_PRIVATE_KEY}" > private_key
chmod 600 private_key
scp -i private_key -o StrictHostKeyChecking=no ./${{env.job_id}}/morska-frontend.zip mz@crm.bim-it.pl:
rm private_key