mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 08:33:38 +00:00
fixup! fix: cambiar las direcciones de sincronización a rsyncd
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a6bba8c3cb
commit
79398d0448
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class ChangeFullRsyncDestination < ActiveRecord::Migration[6.1]
|
||||||
def up
|
def up
|
||||||
DeployFullRsync.find_each do |deploy|
|
DeployFullRsync.find_each do |deploy|
|
||||||
Rails.application.nodes.each do |node|
|
Rails.application.nodes.each do |node|
|
||||||
deploy.destination = "rsync://#{node}/deploys/"
|
deploy.destination = "rsync://rsyncd.#{node}/deploys/"
|
||||||
deploy.save
|
deploy.save
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue