5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 17:46:21 +00:00

feat: eliminar archivos al sincronizar

This commit is contained in:
f 2023-03-18 14:38:45 -03:00
parent 1e188bab02
commit 431b7223b6

View file

@ -91,7 +91,7 @@ class DeployRsync < Deploy
#
# @return [Boolean]
def rsync(output: output)
run %(rsync -aviH --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/), output: output
run %(rsync -aviH --delete-after --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
end
# El origen es el destino de la compilación