mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 15:41:42 +00:00
feat: darle url a deploy rsync
This commit is contained in:
parent
3dc10c46f8
commit
8b10cfb524
1 changed files with 6 additions and 1 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[destination host_keys], coder: JSON
|
||||
store :values, accessors: %i[hostname destination host_keys], coder: JSON
|
||||
|
||||
DEPENDENCIES = %i[deploy_local]
|
||||
|
||||
|
@ -25,6 +25,11 @@ class DeployRsync < Deploy
|
|||
end
|
||||
end
|
||||
|
||||
# @return [String]
|
||||
def url
|
||||
"https://#{hostname}/"
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
# Verificar la conexión SSH implementando Trust On First Use
|
||||
|
|
Loading…
Reference in a new issue