updated prod deploy
This commit is contained in:
parent
b2499c641d
commit
1fc4436d1f
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue