updated prod deploy

This commit is contained in:
Kim 2023-11-13 10:54:41 +01:00
parent b2499c641d
commit 1fc4436d1f
1 changed files with 11 additions and 0 deletions

View File

@ -19,6 +19,17 @@ 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: 194.182.190.208
username: ubuntu
password: ${{ secrets.PRODUCTION_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: