mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-20 06:16:22 +00:00
feat: eliminar archivos al sincronizar
This commit is contained in:
parent
dedf8979e4
commit
7530007367
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class DeployRsync < Deploy
|
|||
#
|
||||
# @return [Boolean]
|
||||
def rsync
|
||||
run %(rsync -aviH --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
||||
run %(rsync -aviH --delete-after --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
||||
end
|
||||
|
||||
# El origen es el destino de la compilación
|
||||
|
|
Loading…
Reference in a new issue