class Dpl::Providers::Heroku::Git

Public Instance Methods

deploy() click to toggle source
# File lib/dpl/providers/heroku/git.rb, line 33
def deploy
  shell :fetch, assert: false
  shell :push
end
prepare() click to toggle source
# File lib/dpl/providers/heroku/git.rb, line 29
def prepare
  write_netrc if write_netrc?
end

Private Instance Methods

remote() click to toggle source
# File lib/dpl/providers/heroku/git.rb, line 40
def remote
  git || "https://git.heroku.com/#{app}.git"
end
write_netrc() click to toggle source
Calls superclass method
# File lib/dpl/providers/heroku/git.rb, line 48
def write_netrc
  super('git.heroku.com', email, api_key || password)
end
write_netrc?() click to toggle source
# File lib/dpl/providers/heroku/git.rb, line 44
def write_netrc?
  remote.start_with?('https://')
end