5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-17 03:26:21 +00:00

fix: guardar el hostname

This commit is contained in:
f 2023-04-24 14:41:45 -03:00
parent f1e53c04db
commit b78dd1661a

View file

@ -215,7 +215,7 @@ SiteService = Struct.new(:site, :usuarie, :params, keyword_init: true) do
# Crea los deploys necesarios para sincronizar a otros nodos de Sutty
def sync_nodes
Rails.application.nodes.each do |node|
site.deploys.build(type: 'DeployFullRsync', destination: "rsync://rsyncd.#{node}/deploys/")
site.deploys.build(type: 'DeployFullRsync', destination: "rsync://rsyncd.#{node}/deploys/", hostname: node)
end
end