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

This commit is contained in:
Struchkov Mark 2022-12-18 06:00:32 +03:00
parent 2ddbd505a5
commit d54ef69aff

View File

@ -16,7 +16,10 @@ steps:
from_secret: MAVEN_SETTINGS
GPG_PASSPHRASE:
from_secret: GPG_PASSPHRASE
SSH_KEY:
from_secret: SSH_KEY
commands:
- echo "$SSH_KEY" > $HOME/.ssh/id_rsa
- echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml
- gpg --pinentry-mode loopback --passphrase $GPG_PASSPHRASE --import gpg.key