mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 04:16:22 +00:00
fix: output para rsync
This commit is contained in:
parent
7530007367
commit
fa04538669
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue