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

This commit is contained in:
Struchkov Mark 2022-12-18 06:24:54 +03:00
parent b2a32d99bd
commit 4c26875261

View File

@ -5,7 +5,7 @@ name: haiti-framework
steps:
- name: publish maven central
image: maven:3.8.5-openjdk-17-slim
image: maven:3.8.5-openjdk-17
volumes:
- name: m2
path: /root/.m2/repository
@ -19,7 +19,6 @@ steps:
SSH_KEY:
from_secret: SSH_KEY
commands:
- apt-get install gnupg -y
- which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )
- eval $(ssh-agent -s)
- echo "$SSH_KEY" | ssh-add -