5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-09-20 23:02:06 +00:00

feat: eliminar archivos al sincronizar

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

View file

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