Class: Vx::Builder::Script::Deploy
- Defined in:
- lib/vx/builder/script/deploy.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#deploy?, #do_after_deploy, #do_announce, #do_before_deploy, #do_before_install, #do_cache_key, #do_cached_directories, #do_deploy, #do_install, #do_script
Methods included from Helper::TraceShCommand
Instance Method Details
#call(env) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/vx/builder/script/deploy.rb', line 7 def call(env) if enabled?(env) env.source.deploy.providers.each do |provider| if provider.shell? deploy_using_shell(env, provider) end end end do_before_deploy(env) do |i| i += env.source.before_deploy end app.call(env) end |