sudo make sandwich

This commit is contained in:
Kim 2023-11-06 12:50:17 +01:00
parent da2e5cd1ad
commit bb49cda7ad
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,6 @@ jobs:
run: |
mkdir -p /root/.ssh/
touch /root/.ssh/config
echo '$SSH_KEY'
echo '$SSH_KEY' > /root/.ssh/id_rsa
chmod 700 /root/.ssh/id_rsa
@ -40,6 +39,7 @@ jobs:
SSH_USER: ubuntu
SSH_HOST: 91.92.154.141
SSS_KEY: ${{ secrets.STAGING_SSH_KEY }}
- run: sudo su
- 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'