drone custom ssh git clone: b64 key
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
fc53299c8f
commit
cfb1c47ce3
|
@ -16,8 +16,8 @@ steps:
|
|||
commands:
|
||||
- mkdir ~/.ssh
|
||||
- echo buildbot_key_b64 > ~/.ssh/id_rsa.b64
|
||||
- ls -s -h ~/.ssh
|
||||
- base64 --decode ~/.ssh/id_rsa.b64 > ~/.ssh/id_rsa
|
||||
- ls -lh ~/.ssh
|
||||
- base64 -d ~/.ssh/id_rsa.b64 > ~/.ssh/id_rsa
|
||||
# force by pass of ssh host key check, less secure
|
||||
- ssh-keyscan -H build.openprivacy.ca >> ~/.ssh/known_hosts
|
||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
||||
|
|
Loading…
Reference in New Issue