typo in deploy

This commit is contained in:
Kim 2023-10-30 08:50:50 +01:00
parent ea66b50b04
commit a962acfc92
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ jobs:
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 install
npm --prefix ${{ gitea.workspace }}/typescript/frontend-marios2 run build
- run: cd ${{ gitea.workspace }}
- run: scp -vo StrictHostKeyChecking=no -r ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@$91.92.154.141:~/backend
- run: scp -vo StrictHostKeyChecking=no -r ./typescript/frontend-marios2/* ubuntu@$91.92.154.141:~/frontend/
- run: scp -vo StrictHostKeyChecking=no -r ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@91.92.154.141:~/backend
- run: scp -vo StrictHostKeyChecking=no -r ./typescript/frontend-marios2/* ubuntu@91.92.154.141:~/frontend/
- run: ssh -vo StrictHostKeyChecking=no ubuntu@91.92.154.141 'sudo systemctl restart backend'
- run: ssh -vo StrictHostKeyChecking=no ubuntu@91.92.154.141 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
- run: ssh -vo StrictHostKeyChecking=no ubuntu@91.92.154.141 'sudo npm install -g serve'