drone windows ssh git
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
a7794e0ae0
commit
f4331d0a34
|
@ -172,11 +172,13 @@ steps:
|
|||
commands:
|
||||
- # force by pass of ssh host key check, less secure
|
||||
- ssh-keyscan -H git.openprivacy.ca >> ..\known_hosts
|
||||
- echo $buildbot_key_b64 > ..\id_rsa.b64
|
||||
- echo $Env:buildbot_key_b64 > ..\id_rsa.b64
|
||||
- dir ..
|
||||
- certutil -decode ..\id_rsa.b64 ..\id_rsa
|
||||
- git init
|
||||
- git config core.sshCommand 'ssh -o UserKnownHostsFile=..\known_hosts -i ..\id_rsa'
|
||||
- git clone gogs@git.openprivacy.ca:flutter/flutter_app.git .
|
||||
- git remote add origin gogs@git.openprivacy.ca:flutter/flutter_app.git
|
||||
- git pull orign
|
||||
- git checkout $DRONE_COMMIT
|
||||
|
||||
- name: fetch
|
||||
|
|
Loading…
Reference in New Issue