Update instance update process
This commit is contained in:
parent
85fb27a631
commit
4ae4e88800
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,6 @@ public function handle(bool $force = false, bool $async = false)
|
|||
}
|
||||
$this->update();
|
||||
}
|
||||
send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
|
||||
} catch (\Throwable $e) {
|
||||
ray('InstanceAutoUpdateJob failed');
|
||||
ray($e->getMessage());
|
||||
|
|
@ -83,6 +82,7 @@ private function update()
|
|||
"bash /data/coolify/source/upgrade.sh $this->latestVersion"
|
||||
], $this->server);
|
||||
}
|
||||
send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue