5
0
Fork 0
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:
f 2023-03-18 16:48:32 -03:00
parent 7359d4f6c1
commit d109eb76db

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