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 |
# File 'lib/dapp/project/command/push.rb', line 8 def push(repo) log_step_with_indent(:stages) { stages_push(repo) } if with_stages? build_configs.each do |config| log_step_with_indent(config._name) do Application.new(config: config, project: self, ignore_git_fetch: true, should_be_built: true).tap do |app| app.export!(repo, format: '%{repo}:%{application_name}-%{tag}') end end end end |