File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -342,9 +342,20 @@ jobs:
342342 curl -sSL https://github.com/github/hub/releases/download/v2.2.9/hub-linux-amd64-2.2.9.tgz | \
343343 tar zxv -C /tmp
344344 sudo /tmp/hub-linux-amd64-2.2.9/install
345+ - run :
346+ name : Expand SSH Key
347+ command : |
348+ (echo "-----BEGIN OPENSSH PRIVATE KEY-----";
349+ echo $GITHUB_ED25519 | fold -w 71;
350+ echo "-----END OPENSSH PRIVATE KEY-----") > ~/.ssh/id_ed25519
351+ chmod go-rwx ~/.ssh/id_ed25519
352+ ssh-keygen -y -f ~/.ssh/id_ed25519 > ~/.ssh/id_ed25519.pub
345353 - run :
346354 name : Update feedstock
347- command : /home/circleci/nipype/tools/feedstock.sh
355+ command : |
356+ ssh-add -D
357+ ssh-add ~/.ssh/id_ed25519
358+ /home/circleci/nipype/tools/feedstock.sh
348359
349360
350361workflows :
You can’t perform that action at this time.
0 commit comments