invalid key formating

This commit is contained in:
Kim 2023-10-30 11:43:00 +01:00
parent 46bd66cd54
commit c5616a5762
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ jobs:
SSH_USER: ubuntu SSH_USER: ubuntu
SSH_HOST: 91.92.154.141 SSH_HOST: 91.92.154.141
SSS_KEY: ${{ secrets.STAGING_SSH_KEY }} 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 }}/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: scp -vo StrictHostKeyChecking=no -r ${{ gitea.workspace }}/typescript/frontend-marios2/* staging:~/frontend/
- run: ssh -vo StrictHostKeyChecking=no staging 'sudo systemctl restart backend' - run: ssh -vo StrictHostKeyChecking=no staging 'sudo systemctl restart backend'