5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-02 16:16:09 +00:00

feat: darle url a deploy rsync

This commit is contained in:
f 2023-03-18 16:48:32 -03:00
parent 3dc10c46f8
commit 8b10cfb524

View file

@ -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