mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 18:56:21 +00:00
fix: crear el sitio remoto si no se pudo crear antes
This commit is contained in:
parent
debf45b726
commit
2b340a4488
1 changed files with 5 additions and 0 deletions
|
@ -27,6 +27,11 @@ class DeployDistributedPress < Deploy
|
||||||
|
|
||||||
time_start
|
time_start
|
||||||
|
|
||||||
|
if remote_site_id.blank? || remote_info['njalla'].blank?
|
||||||
|
create_remote_site!
|
||||||
|
save
|
||||||
|
end
|
||||||
|
|
||||||
site_client.tap do |c|
|
site_client.tap do |c|
|
||||||
stdout = Thread.new(publisher.logger_out) do |io|
|
stdout = Thread.new(publisher.logger_out) do |io|
|
||||||
until io.eof?
|
until io.eof?
|
||||||
|
|
Loading…
Reference in a new issue