diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 88e9a17..0f7d31f 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,8 @@ jobs: run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64 - name: Install ssh agent uses: webfactory/ssh-agent@v0.9.0 + with: + ssh-private-key: ${{ secres.DEPLOY_KEY }} - name: Stop the realms server for the deployment run: ssh -o StrictHostKeyChecking=no -p 9476 my-mc.link "pm2 stop 0" - name: Deploy compiled binary and dll files to server