diff --git a/.github/workflows/update-server.yml b/.github/workflows/update-server.yml index 7c91982d..32575a97 100644 --- a/.github/workflows/update-server.yml +++ b/.github/workflows/update-server.yml @@ -28,7 +28,7 @@ jobs: mkdir -p ~/.ssh/ echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa chmod 600 ~/.ssh/id_rsa - ssh-keyscan root@slc.compile.learnbevy.com >> ~/.ssh/known_hosts + ssh-keyscan slc.compile.learnbevy.com >> ~/.ssh/known_hosts env: SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} - name: Test SSH