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

@ -24,7 +24,7 @@ jobs:
run: | run: |
rsync -av ${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@91.92.154.141:~/backend 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' ssh ubuntu@91.92.154.141 'sudo systemctl restart backend'
rsync -rv .* ubuntu@91.92.154.141:~/frontend/ 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 cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
ssh ubuntu@91.92.154.141 'sudo npm install -g serve' ssh ubuntu@91.92.154.141 'sudo npm install -g serve'
- run: echo " This job's status is ${{ job.status }}." - run: echo " This job's status is ${{ job.status }}."