Fix error with missing .ssh directory
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-08-15 00:53:34 +02:00
parent 71f18eb7a0
commit ebc5a12385
+2
View File
@@ -53,7 +53,9 @@ steps:
SSH_KEY:
from_secret: ssh_key
commands:
- mkdir .ssh
- echo "$SSH_KEY" > $HOME/.ssh/id_ed25519
- touch .ssh/known_hosts
- chmod 600 $HOME/.ssh/known_hosts
- ssh-keyscan -H giteajim@git.2martens.de > ~/.ssh/known_hosts 2> /dev/null
- git clone ssh://giteajim@git.2martens.de:22/2martens/wahlrecht.git .