Method: DPL::Provider::Scalingo#push_app
- Defined in:
- lib/dpl/provider/scalingo.rb
#push_app ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 |
# File 'lib/dpl/provider/scalingo.rb', line 54 def push_app install_deploy_dependencies if @options[:app] if !scalingo("--app #{@options[:app]} git-setup --remote #{@remote}") error 'Failed to add the Git remote.' end end if !context.shell "git push #{@remote} #{@branch} --force" error "Couldn't push your app." end end |