This commit is contained in:
Kim 2023-10-23 14:46:53 +02:00
parent 39205f81eb
commit 1b47e7b157
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ jobs:
- name: copy everything to Stage
run: |
rsync -av ${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@91.92.154.141:~/backend
ssh ubuntu@91.92.154.141'sudo systemctl restart backend'
rsync -rv .* ubuntu@91.92.154.141:~/frontend/
ssh ubuntu@91.92.154.141 'sudo systemctl restart backend'
rsync -rv ${{ gitea.workspace }}/typescript/frontend-marios2/* ubuntu@91.92.154.141:~/frontend/
ssh ubuntu@91.92.154.141 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
ssh ubuntu@91.92.154.141 'sudo npm install -g serve'
- run: echo " This job's status is ${{ job.status }}."