move autoupdate job to actions

This commit is contained in:
Andras Bacsai committed 2023-10-12 08:56:29 +02:00
1 parent a2f4d4ed6d
commit 5c27f43b3d
4 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -37,7 +37,7 @@ class Upgrade extends Component
return;
}
$this->showProgress = true;
resolve(UpdateCoolify::class)(true);
UpdateCoolify::run(true);
$this->emit('success', "Upgrading to {$this->latestVersion} version...");
} catch (\Throwable $e) {
return handleError($e, $this);