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

fix: ir al contenedor de rsyncd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
f 2023-04-22 18:18:30 -03:00
parent 4f74c6f6ca
commit f1e53c04db

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://#{node}/deploys/")
site.deploys.build(type: 'DeployFullRsync', destination: "rsync://rsyncd.#{node}/deploys/")
end
end