drone custom ssh git clone: of course chmod id_rsa 400
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dan Ballard 2021-05-03 17:45:15 -07:00
parent 018af3893d
commit 58eec4ebe1
1 changed files with 1 additions and 1 deletions

View File

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