mirror of
https://0xacab.org/sutty/sutty
synced 2025-02-22 20:11:51 +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]
|
# @return [Boolean]
|
||||||
def rsync
|
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
|
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