Method: Kamal::Cli::App#live

Defined in:
lib/kamal/cli/app.rb

#liveObject



269
270
271
272
273
274
275
276
277
278
279
# File 'lib/kamal/cli/app.rb', line 269

def live
  with_lock do
    on(KAMAL.proxy_hosts) do |host|
      roles = KAMAL.roles_on(host)

      roles.each do |role|
        execute *KAMAL.app(role: role, host: host).live if role.running_proxy?
      end
    end
  end
end