From ad99d58655b7b59140769b36252981c1901e187f Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 23 Oct 2023 17:12:47 +0200 Subject: [PATCH] && run? --- .gitea/workflows/stage-deploy.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index a5933bb7f..c827e6cdd 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -38,10 +38,10 @@ jobs: SSH_KEY: ${{ secrets.STAGING_SSH_KEY }} SSH_HOST: ${{ secrets.STAGING_SSH_HOST }} - run: | - cd ${{ gitea.workspace }} - scp -r ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ staging:~/backend - scp -r ./typescript/frontend-marios2/* staging:~/frontend/ - ssh staging 'sudo systemctl restart backend' - ssh staging 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/' + cd ${{ gitea.workspace }} && + scp -r ./csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ staging:~/backend && + scp -r ./typescript/frontend-marios2/* staging:~/frontend/ && + ssh staging 'sudo systemctl restart backend' && + ssh staging 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/' && ssh staging 'sudo npm install -g serve' - run: echo " This job's status is ${{ job.status }}." \ No newline at end of file