Добавил ssh key
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2022-12-18 06:25:12 +03:00
parent 4c26875261
commit 18407b6366

View File

@ -19,8 +19,6 @@ steps:
SSH_KEY: SSH_KEY:
from_secret: SSH_KEY from_secret: SSH_KEY
commands: commands:
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add - - echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh