Настройка dev сборки документации
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2023-02-23 21:40:53 +03:00
parent ce9d4752d2
commit 4fa7a47eeb
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -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