File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 6161 branch-name (str " datahike-" version)
6262 home (System/getenv " HOME" )
6363 ssh-key (System/getenv " GITHUB_SSH_KEY" )
64- github-token (System/getenv " GITHUB_TOKEN" )]
64+ github-token (System/getenv " GITHUB_TOKEN" )
65+ key-file (str home " /pod-registry-key" )]
6566 (println " Loading ssh-key" )
6667 (if ssh-key
67- (spit ( str home " /.ssh/pod-registry- key" ) ssh-key)
68+ (spit key-file ssh-key)
6869 (do
6970 (println " Could not find ssh key" )
7071 (System/exit 1 )))
71- (println (:err (b/process {:command-args [" ssh-add" ( str home " /.ssh/pod-registry- key" ) ] :out :capture :err :capture })))
72+ (println (:err (b/process {:command-args [" ssh-add" key-file ] :out :capture :err :capture })))
7273 (println " Checking out pod-registry" )
7374 (b/git-process {:git-args [" clone" " git@github.com:replikativ/pod-registry.git" ] :dir " ../" :capture :err })
7475 (b/git-process {:git-args [" checkout" " -b" branch-name] :dir " ../pod-registry" })
You can’t perform that action at this time.
0 commit comments