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

This commit is contained in:
Struchkov Mark 2022-12-18 06:48:57 +03:00
parent 3c87887b59
commit cc6b588ab8

View File

@ -23,7 +23,7 @@ steps:
- echo "$SSH_KEY" | ssh-add - - echo "$SSH_KEY" | ssh-add -
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- chmod 700 ~/.ssh - chmod 700 ~/.ssh
- ssh-keyscan https://git.struchkov.dev >> ~/.ssh/known_hosts - ssh-keyscan git.struchkov.dev >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts - chmod 644 ~/.ssh/known_hosts
- echo "$GPG_PRIVATE_KEY" >> gpg.key - echo "$GPG_PRIVATE_KEY" >> gpg.key
- echo "$MAVEN_SETTINGS" >> maven-settings.xml - echo "$MAVEN_SETTINGS" >> maven-settings.xml