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:
parent
1e188bab02
commit
431b7223b6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue