Missing creating ssh folder

This commit is contained in:
Florian Hoss 2024-09-30 22:44:20 +02:00
parent c00916decf
commit c04a3ed00d
Signed by: flohoss
GPG key ID: 5BA0B454E498DF62

View file

@ -54,6 +54,7 @@ publish:
rules: !reference [.rules:deploy, rules]
stage: publish
script:
- mkdir -p ~/.ssh
- cp "$SSH_PRIVATE_KEY" ~/.ssh/bot
- chmod 600 ~/.ssh/bot
- ssh-keyscan -H ${SERVER} >> ~/.ssh/known_hosts