drone custom ssh git clone: b64 key
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Ballard 2021-05-03 17:11:09 -07:00
parent fc53299c8f
commit cfb1c47ce3
1 changed files with 2 additions and 2 deletions

View File

@ -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 .