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

BREAKING CHANGE: usar rsyncd en lugar de ssh #13171

This commit is contained in:
f 2023-04-21 15:24:40 -03:00
parent 29f4c7a847
commit 79fd1b7fbb

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