Class: Takeoff::Stage::PushToGithub
- Defined in:
- lib/takeoff/stage/push_to_github.rb
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
#branches_up_to_date?, #diff, #execute, #file_has_changed_locally?, #files_have_changed?, #latest_commit, #log
Constructor Details
This class inherits a constructor from Takeoff::Stage::Base
Instance Method Details
#call(env) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/takeoff/stage/push_to_github.rb', line 6 def call(env) log "Pushing checkpoint branch to GitHub" execute "git push github #{env[:checkpoint_branch]}:#{env[:checkpoint_branch]} --force" @app.call(env) end |