5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-05 20:05:45 +00:00

fix: output para rsync

This commit is contained in:
f 2023-03-18 14:45:35 -03:00
parent 7530007367
commit fa04538669

View file

@ -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