From 73865ea21187487b6e85ddc95c0dee711fd4f887 Mon Sep 17 00:00:00 2001 From: ronbruins <43776917+ronbruins@users.noreply.github.com> Date: Sun, 10 Nov 2024 09:48:35 +0300 Subject: [PATCH] Update deptest.yml --- .github/workflows/deptest.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deptest.yml b/.github/workflows/deptest.yml index e044465..32cd4ed 100644 --- a/.github/workflows/deptest.yml +++ b/.github/workflows/deptest.yml @@ -13,10 +13,10 @@ jobs: mkdir -p ~/.ssh echo "${{ secrets.PRIVATE_SSH_KEY }}" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p 2271 ${{ secrets.HOST }} >> ~/.ssh/known_hosts + ssh-keyscan -p 22 ${{ secrets.HOST }} >> ~/.ssh/known_hosts sudo apt-get install sshpass - name: Deploy to server run: | - sshpass -p '${{ secrets.PWD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }}:2271 <<'ENDSSH' + sshpass -p '${{ secrets.PWD }}' ssh -v -o StrictHostKeyChecking=no ${{ secrets.USER }}@${{ secrets.HOST }} <<'ENDSSH' touch /tmp/git_deploy