diff --git a/.drone.yml b/.drone.yml index d8e94bb..0230d9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -127,15 +127,14 @@ steps: - eval $(ssh-agent -s) - mkdir -p ~/.ssh - echo "$GIT_SSH" >> ~/.ssh/id_rsa - - echo "$SSH_CONFIG" >> ~/.ssh/config - - echo "$SSH_CONFIG" +# - echo "$SSH_CONFIG" >> ~/.ssh/config - chmod 700 ~/.ssh - chmod 600 ~/.ssh/id_rsa - ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts - 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/Telegram-Bots/gitlab-notification.git . + - git clone ssh://git@git.struchkov.dev:222/Telegram-Bots/gitlab-notification.git . - git checkout $DRONE_COMMIT - git branch # - git remote add deploy ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git