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

This commit is contained in:
Struchkov Mark 2023-02-23 20:36:36 +03:00
parent 39371bba7f
commit 86f2a3992e
Signed by: upagge
GPG Key ID: D3018BE7BA428CA6

View File

@ -118,6 +118,8 @@ steps:
environment: environment:
GIT_SSH: GIT_SSH:
from_secret: GIT_SSH from_secret: GIT_SSH
SSH_CONFIG:
from_secret: SSH_CONFIG
commands: commands:
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
@ -129,7 +131,7 @@ steps:
- 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:222/Telegram-Bots/gitlab-notification.git . - git clone ssh://git@git.struchkov.dev/Telegram-Bots/gitlab-notification.git .
- git checkout $DRONE_COMMIT - git checkout $DRONE_COMMIT
- git branch - git branch