This commit is contained in:
Andras Bacsai 2023-05-25 21:58:59 +02:00
parent 236b35c93e
commit 570fb8f4c3

View File

@ -66,11 +66,11 @@ public function handle(): void
], $this->server); ], $this->server);
} else { } else {
instant_remote_process([ instant_remote_process([
"curl -fsSL https://coolify-cdn.b-cdn.net/files/upgrade.sh -o /tmp/upgrade.sh", "curl -fsSL https://coolify-cdn.b-cdn.net/files/upgrade.sh -o /data/coolify/source/upgrade.sh",
], $this->server); ], $this->server);
remote_process([ remote_process([
"bash /tmp/upgrade.sh $this->latest_version" "bash /data/coolify/source/upgrade.sh $this->latest_version"
], $this->server); ], $this->server);
} }
} catch (\Exception $e) { } catch (\Exception $e) {