lib/rmd/deploy_service.rb in rmdd-0.1.15 vs lib/rmd/deploy_service.rb in rmdd-0.1.16

- old
+ new

@@ -5,10 +5,10 @@ class ServerNotFound < StandardError; end class DeployService def self.deploy(server, skip_assets = false) validate(server) - deploy_url = "#{url(server)}/deploy?token=#{token(server)}&skip_assets=#{skip_assets}" + deploy_url = "#{url(server)}/deploy?token=#{token(server)}&skip_assets=#{skip_assets.to_s}" command = "curl -s #{deploy_url}" system_cmd(command) end def self.restart(server)