From ea66b50b0421eff71e8efafc4ebc9ffe7dc0a071 Mon Sep 17 00:00:00 2001 From: Kim Date: Mon, 30 Oct 2023 08:46:26 +0100 Subject: [PATCH] fuck secrets I want my IP visible for debugging --- .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 d599d3d1a..a9fff57fe 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -22,9 +22,9 @@ 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@${{ secrets.STAGING_SSH_HOST }}:~/backend - - run: scp -vo StrictHostKeyChecking=no -r ./typescript/frontend-marios2/* ubuntu@${{ secrets.STAGING_SSH_HOST }}:~/frontend/ - - run: ssh -vo StrictHostKeyChecking=no staging 'sudo systemctl restart backend' - - run: ssh -vo StrictHostKeyChecking=no staging 'sudo cp -rf ~/frontend/build/* /var/www/html/monitor.innov.energy/html/' - - run: ssh -vo StrictHostKeyChecking=no staging 'sudo npm install -g serve' + - 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' - run: echo " This job's status is ${{ job.status }}." \ No newline at end of file