Innovenergy_trunk/.gitea/Prod-deploy.sh

6 lines
408 B
Bash
Executable File

#/bin/bash
rsync -av ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ ubuntu@194.182.190.208:~/backend
ssh ubuntu@194.182.190.208 'sudo systemctl restart backend'
rsync -av ./typescript/frontend-marios2/* ubuntu@194.182.190.208:~/frontend/
ssh ubuntu@194.182.190.208 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/'
ssh ubuntu@194.182.190.208 'sudo npm install -g serve'