diff --git a/.gitea/workflows/stage-deploy.yaml b/.gitea/workflows/stage-deploy.yaml index 223b95980..abd1fc98d 100644 --- a/.gitea/workflows/stage-deploy.yaml +++ b/.gitea/workflows/stage-deploy.yaml @@ -38,6 +38,7 @@ jobs: SSH_USER: ubuntu SSH_HOST: 91.92.154.141 SSS_KEY: ${{ secrets.STAGING_SSH_KEY }} + - run: dos2unix /root/.ssh/id_stage.pub - run: scp -vo StrictHostKeyChecking=no -r ${{ gitea.workspace }}/csharp/App/Backend/bin/Release/net6.0/linux-x64/publish/ staging:~/backend - run: scp -vo StrictHostKeyChecking=no -r ${{ gitea.workspace }}/typescript/frontend-marios2/* staging:~/frontend/ - run: ssh -vo StrictHostKeyChecking=no staging 'sudo systemctl restart backend'