Module: Dapp::Project::Command::Push
- Included in:
- Dapp::Project
- Defined in:
- lib/dapp/project/command/push.rb
Overview
Push
Instance Method Summary collapse
Instance Method Details
#push(repo) ⇒ Object
8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/dapp/project/command/push.rb', line 8 def push(repo) validate_repo_name(repo) log_step_with_indent(:stages) { stages_push(repo) } if with_stages? build_configs.each do |config| log_dimg_name_with_indent(config) do Dimg.new(config: config, project: self, ignore_git_fetch: true, should_be_built: true).tap do |dimg| dimg.export!(repo, format: push_format(config._name)) end end end end |