mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 13:51:46 +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
|
deploy_www
|
||||||
]
|
]
|
||||||
|
|
||||||
def deploy
|
def deploy(output: false)
|
||||||
ssh? && rsync
|
ssh? && rsync(output: output)
|
||||||
end
|
end
|
||||||
|
|
||||||
# El espacio remoto es el mismo que el local
|
# El espacio remoto es el mismo que el local
|
||||||
|
@ -91,7 +91,7 @@ class DeployRsync < Deploy
|
||||||
#
|
#
|
||||||
# @return [Boolean]
|
# @return [Boolean]
|
||||||
def rsync
|
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
|
end
|
||||||
|
|
||||||
# El origen es el destino de la compilación
|
# El origen es el destino de la compilación
|
||||||
|
|
Loading…
Reference in a new issue