need to stop backend before overwriting

This commit is contained in:
Kim 2023-11-13 10:34:17 +01:00
parent 57b38431f3
commit afad1355d3
1 changed files with 10 additions and 0 deletions

View File

@ -19,6 +19,16 @@ jobs:
- run: |
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 install
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
uses: appleboy/scp-action@v0.1.4
with: