From e2fb654a34b6490b01f8fe0f1727dc5b3e456559 Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Fri, 26 Apr 2024 17:24:09 +0200 Subject: [PATCH] sudo --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b43e0cc..7626927 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,8 +17,8 @@ jobs: run: /home/runner/.dotnet/dotnet publish --runtime linux-arm64 - name: Install sshpass run: | - apt-get update - apt-get install sshpass + sudo apt-get update + sudo apt-get install sshpass - name: Stop the realms server for the deployment run: sshpass -p '${{ secrets.VPS_PASSWORD }}' ssh -o StrictHostKeyChecking=no -p 9476 root@ssh.surf "pm2 stop 0" - name: Deploy compiled binary and dll files to server