class Dpl::Providers::Heroku::Git
Public Instance Methods
Source
# File lib/dpl/providers/heroku/git.rb, line 33 def deploy shell :fetch, assert: false shell :push end
Source
# File lib/dpl/providers/heroku/git.rb, line 29 def prepare write_netrc if write_netrc? end
Private Instance Methods
Source
# File lib/dpl/providers/heroku/git.rb, line 40 def remote git || "https://git.heroku.com/#{app}.git" end
Source
# File lib/dpl/providers/heroku/git.rb, line 48 def write_netrc super('git.heroku.com', email, api_key || password) end
Calls superclass method
Source
# File lib/dpl/providers/heroku/git.rb, line 44 def write_netrc? remote.start_with?('https://') end