Настройка dev сборки документации
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
ce9d4752d2
commit
4fa7a47eeb
@ -127,15 +127,14 @@ steps:
|
|||||||
- eval $(ssh-agent -s)
|
- eval $(ssh-agent -s)
|
||||||
- mkdir -p ~/.ssh
|
- mkdir -p ~/.ssh
|
||||||
- echo "$GIT_SSH" >> ~/.ssh/id_rsa
|
- echo "$GIT_SSH" >> ~/.ssh/id_rsa
|
||||||
- echo "$SSH_CONFIG" >> ~/.ssh/config
|
# - echo "$SSH_CONFIG" >> ~/.ssh/config
|
||||||
- echo "$SSH_CONFIG"
|
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
- chmod 600 ~/.ssh/id_rsa
|
- chmod 600 ~/.ssh/id_rsa
|
||||||
- ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
|
- ssh-keyscan -p 222 git.struchkov.dev >> ~/.ssh/known_hosts
|
||||||
- chmod 644 ~/.ssh/known_hosts
|
- chmod 644 ~/.ssh/known_hosts
|
||||||
- git config --global user.name "${DRONE_COMMIT_AUTHOR_NAME}"
|
- git config --global user.name "${DRONE_COMMIT_AUTHOR_NAME}"
|
||||||
- git config --global user.email "${DRONE_COMMIT_AUTHOR_EMAIL}"
|
- 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 checkout $DRONE_COMMIT
|
||||||
- git branch
|
- git branch
|
||||||
# - git remote add deploy ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git
|
# - git remote add deploy ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git
|
||||||
|
Loading…
Reference in New Issue
Block a user