diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index 3ba9be2ea..f6ac5b0fe 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -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 }}." \ No newline at end of file