From 1b47e7b1574f152688853de12531b00ec97d7d4d Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 14:46:53 +0200 Subject: [PATCH] Tweak --- .gitea/workflows/stage-deploy.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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