From 43a38652ef05b48174174078980ee13b1b268d7b Mon Sep 17 00:00:00 2001 From: CyberL1 Date: Sat, 20 Apr 2024 23:05:41 +0200 Subject: [PATCH] disable key checing --- .gitea/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 0e19995..34abe28 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -20,4 +20,4 @@ jobs: apt-get update apt-get install sshpass - name: Deploy compiled binary and dll files to server - run: sshpass -p '${{ secrets.VPS_PASSWORD }}' scp -r -P 9476 MyMcRealms\bin\Release\net8.0\linux-arm64\publish\* root@ssh.surf:/root/MyMcRealms + run: sshpass -p '${{ secrets.VPS_PASSWORD }}' scp -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -r -P 9476 MyMcRealms\bin\Release\net8.0\linux-arm64\publish\* root@ssh.surf:/root/MyMcRealms