ci: Disable host key checking
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-02-21 13:20:49 +01:00
parent 175a0b9fcf
commit dd4e4bd8ac

View file

@ -82,7 +82,11 @@ steps:
- mkdir -p ~/.ssh && chmod 700 ~/.ssh - mkdir -p ~/.ssh && chmod 700 ~/.ssh
- echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key - echo "$SSH_PRIVATE_KEY" | base64 -d > ~/.ssh/deploy_key
- chmod 600 ~/.ssh/deploy_key - chmod 600 ~/.ssh/deploy_key
- ssh -i ~/.ssh/deploy_key "$SSH_USER@$SSH_HOST" ls -l / - |
ssh -o StrictHostKeyChecking=no \
-i ~/.ssh/deploy_key \
"$SSH_USER@$SSH_HOST" \
ls -l /
# volumes: # volumes:
# - name: cache # - name: cache