Sha256: dcbaf9f81f47611a1d4517717684cdc32e267b714ed4e5533656b4083b17f163
Contents?: true
Size: 599 Bytes
Versions: 105
Compression:
Stored size: 599 Bytes
Contents
module DPL class Provider module Heroku class GitDeployKey < Git def needs_key? false end def check_auth super setup_git_ssh end def setup_git_ssh path = File.expand_path(".dpl/git-ssh") File.open(path, 'w') do |file| file.write "#!/bin/sh\n" file.write "exec ssh -o StrictHostKeychecking=no -o CheckHostIP=no -o UserKnownHostsFile=/dev/null -- \"$@\"\n" end chmod(0740, path) ENV['GIT_SSH'] = path end end end end end
Version data entries
105 entries across 105 versions & 1 rubygems