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:
commit
efc642746d
2 changed files with 1 additions and 5 deletions
|
@ -27,8 +27,4 @@ class DeployFullRsync < DeployRsync
|
|||
|
||||
result.present? && result.all?
|
||||
end
|
||||
|
||||
def url
|
||||
"https://#{user_host.last}/"
|
||||
end
|
||||
end
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue