From 802d1ce668f54565679339b477b87f3e231d2a4b Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 27 Apr 2024 09:58:27 +0200 Subject: [PATCH] Update the deploy script #2 --- .github/workflows/deploy.yml | 2 ++ 1 file changed, 2 insertions(+) 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