drone custom ssh git clone: of course chmod id_rsa 400
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
018af3893d
commit
58eec4ebe1
|
@ -18,7 +18,7 @@ steps:
|
|||
- echo $buildbot_key_b64 > ~/.ssh/id_rsa.b64
|
||||
- ls -lh ~/.ssh
|
||||
- base64 -d ~/.ssh/id_rsa.b64 > ~/.ssh/id_rsa
|
||||
- chmod 400 ~/id_rsa
|
||||
- chmod 400 ~/.ssh/id_rsa
|
||||
# force by pass of ssh host key check, less secure
|
||||
- ssh-keyscan -H git.openprivacy.ca >> ~/.ssh/known_hosts
|
||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
||||
|
|
Loading…
Reference in New Issue