diff --git a/.drone.yml b/.drone.yml index 0771aa4..822123a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -118,6 +118,8 @@ steps: environment: GIT_SSH: from_secret: GIT_SSH + SSH_CONFIG: + from_secret: SSH_CONFIG commands: - eval $(ssh-agent -s) - mkdir -p ~/.ssh @@ -129,7 +131,7 @@ steps: - chmod 644 ~/.ssh/known_hosts - git config --global user.name "${DRONE_COMMIT_AUTHOR_NAME}" - git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}" - - git clone ssh://git@git.struchkov.dev:222/Telegram-Bots/gitlab-notification.git . + - git clone ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git . - git checkout $DRONE_COMMIT - git branch