mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-19 06:46:21 +00:00
feat: darle url a deploy rsync
This commit is contained in:
parent
7359d4f6c1
commit
d109eb76db
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