diff --git a/.drone.yml b/.drone.yml index ba2e1f4..0917c6f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -23,6 +23,8 @@ steps: - echo "$SSH_KEY" | ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh + - ssh-keyscan git.struchkov.dev >> ~/.ssh/known_hosts + - chmod 644 ~/.ssh/known_hosts - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key