need to stop backend before overwriting
This commit is contained in:
parent
57b38431f3
commit
afad1355d3
|
@ -19,6 +19,16 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 install
|
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 install
|
||||||
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 run build
|
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 run build
|
||||||
|
|
||||||
|
- name: stop services
|
||||||
|
uses: appleboy/ssh-action@v0.1.4
|
||||||
|
with:
|
||||||
|
host: 91.92.154.141
|
||||||
|
username: ubuntu
|
||||||
|
password: ${{ secrets.STAGE_SSH_PASSPHRASE }}
|
||||||
|
script: |
|
||||||
|
sudo systemctl stop backend
|
||||||
|
|
||||||
- name: Copy Backend
|
- name: Copy Backend
|
||||||
uses: appleboy/scp-action@v0.1.4
|
uses: appleboy/scp-action@v0.1.4
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in New Issue