Missing creating ssh folder
This commit is contained in:
parent
c00916decf
commit
c04a3ed00d
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue