WIP: Build & Release
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -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
|
||||||
9
.github/workflows/release-morska.yml
vendored
9
.github/workflows/release-morska.yml
vendored
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user