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

This commit is contained in:
Struchkov Mark 2022-12-18 06:22:31 +03:00
parent a8d9a03bc2
commit 7b5811e0cf

View File

@ -19,6 +19,7 @@ steps:
SSH_KEY: SSH_KEY:
from_secret: SSH_KEY from_secret: SSH_KEY
commands: commands:
- apt-get install gnupg
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y ) - which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add - - echo "$SSH_KEY" | ssh-add -