Method: DPL::Provider::Openshift#push_app
- Defined in:
- lib/dpl/provider/openshift.rb
#push_app ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'lib/dpl/provider/openshift.rb', line 43 def push_app if @deployment_branch log "deployment_branch detected: #{@deployment_branch}" app.deployment_branch = @deployment_branch context.shell "git push #{app.git_url} -f #{app.deployment_branch}" else context.shell "git push #{app.git_url} -f" end end |