mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 14:41:41 +00:00
deprecar las flags por ahora
This commit is contained in:
parent
5fac827ca0
commit
20915443d8
1 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@
|
|||
# Sincroniza sitios a servidores remotos usando Rsync. El servidor
|
||||
# remoto tiene que tener rsync instalado.
|
||||
class DeployRsync < Deploy
|
||||
store :values, accessors: %i[flags destination host_keys], coder: JSON
|
||||
store :values, accessors: %i[destination host_keys], coder: JSON
|
||||
|
||||
def deploy
|
||||
ssh? && rsync
|
||||
|
@ -80,11 +80,11 @@ class DeployRsync < Deploy
|
|||
end
|
||||
end
|
||||
|
||||
# Sincroniza hacia el directorio remoto, usando las flags opcionales.
|
||||
# Sincroniza hacia el directorio remoto
|
||||
#
|
||||
# @return [Boolean]
|
||||
def rsync
|
||||
run %(rsync -avi --timeout=5 #{flags ? Shellwords.escape(flags) : ''} #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
||||
run %(rsync -avi --timeout=5 #{Shellwords.escape source}/ #{Shellwords.escape destination}/)
|
||||
end
|
||||
|
||||
# El origen es el destino de la compilación
|
||||
|
|
Loading…
Reference in a new issue