diff --git a/app/models/deploy_rsync.rb b/app/models/deploy_rsync.rb index a70b4a34..c75f744d 100644 --- a/app/models/deploy_rsync.rb +++ b/app/models/deploy_rsync.rb @@ -12,8 +12,8 @@ class DeployRsync < Deploy deploy_www ] - def deploy - ssh? && rsync + def deploy(output: false) + ssh? && rsync(output: output) end # El espacio remoto es el mismo que el local @@ -91,7 +91,7 @@ class DeployRsync < Deploy # # @return [Boolean] def rsync - run %(rsync -aviH --delete-after --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/) + run %(rsync -aviH --delete-after --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/), output: output end # El origen es el destino de la compilaciĆ³n