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:
parent
f1e53c04db
commit
b78dd1661a
1 changed files with 1 additions and 1 deletions
|
@ -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