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

Merge branch 'issue-13171' into panel.sutty.nl

This commit is contained in:
f 2023-04-24 14:42:35 -03:00
commit efc642746d
2 changed files with 1 additions and 5 deletions

View file

@ -27,8 +27,4 @@ class DeployFullRsync < DeployRsync
result.present? && result.all?
end
def url
"https://#{user_host.last}/"
end
end

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