diff --git a/.drone.yml b/.drone.yml index e099a13..853adbb 100644 --- a/.drone.yml +++ b/.drone.yml @@ -117,13 +117,11 @@ steps: from_secret: SSH_DEPLOY_PORT SSH_DEPLOY_PATH: from_secret: SSH_DEPLOY_PATH - secrets: - commands: - mkdocs build - which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) - eval $(ssh-agent -s) - - echo "$SSH_DEPLOY_KEY" | tr -d '\r' | ssh-add - > /dev/null + - echo "$SSH_DEPLOY_KEY" >> ssh-add - - mkdir -p ~/.ssh - chmod 700 ~/.ssh # - ssh-keyscan $SSH_DEPLOY_HOST >> ~/.ssh/known_hosts @@ -131,6 +129,6 @@ steps: - scp -r -P $SSH_DEPLOY_PORT -o StrictHostKeyChecking=no ./site $SSH_DEPLOY_USER@$SSH_DEPLOY_HOST:$SSH_DEPLOY_PATH --- kind: signature -hmac: 3af5a0dddfef45dff43014c1bd367328c79540219b859ae5e09ba62e5b8396d9 +hmac: a5a75fc727f211de45d4187a49212e7b1151d43198b0cb02064e9764835bee99 ...