Sha256: e7fe7489d15a9696069565f59cc46c0171c6135f5a6fbd8c3adbc84afb9d5b9f
Contents?: true
Size: 610 Bytes
Versions: 324
Compression:
Stored size: 610 Bytes
Contents
module DPL class Provider module Heroku class GitDeployKey < GitSSH 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) context.env['GIT_SSH'] = path end end end end end
Version data entries
324 entries across 324 versions & 1 rubygems