diff --git a/.drone.yml b/.drone.yml index 28cb000..4dbe00f 100644 --- a/.drone.yml +++ b/.drone.yml @@ -17,7 +17,7 @@ steps: USER: from_secret: user SSH_KEY: - from_secret: ssh_key + from_secret: rsync_key SITE_PATH: from_secret: path @@ -30,7 +30,7 @@ steps: - apk add openssh rsync - eval $(ssh-agent -s) - mkdir -p ~/.ssh - - echo "$RSYNC_KEY" > ~/.ssh/id_rsa + - echo "$SSH_KEY" > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - ssh-add - echo "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config