diff --git a/.drone.yml b/.drone.yml index ba2e1f4..44ec9f9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -19,10 +19,7 @@ steps: SSH_KEY: from_secret: SSH_KEY commands: - - eval $(ssh-agent -s) - - echo "$SSH_KEY" | ssh-add - - - mkdir -p ~/.ssh - - chmod 700 ~/.ssh + - echo "SSH_KEY" >> /root/.ssh/id_rsa - echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$MAVEN_SETTINGS" >> maven-settings.xml - gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key