mirror of
https://github.com/cupcakearmy/coolify.git
synced 2024-10-22 16:14:22 +02:00
fix: just restart
This commit is contained in:
parent
b8ec3f5704
commit
8b95b3c1bf
@ -316,7 +316,6 @@ private function decide_what_to_do()
|
|||||||
{
|
{
|
||||||
if ($this->restart_only) {
|
if ($this->restart_only) {
|
||||||
$this->just_restart();
|
$this->just_restart();
|
||||||
|
|
||||||
return;
|
return;
|
||||||
} elseif ($this->pull_request_id !== 0) {
|
} elseif ($this->pull_request_id !== 0) {
|
||||||
$this->deploy_pull_request();
|
$this->deploy_pull_request();
|
||||||
@ -737,9 +736,8 @@ private function just_restart()
|
|||||||
$this->check_git_if_build_needed();
|
$this->check_git_if_build_needed();
|
||||||
$this->generate_image_names();
|
$this->generate_image_names();
|
||||||
$this->check_image_locally_or_remotely();
|
$this->check_image_locally_or_remotely();
|
||||||
if ($this->should_skip_build()) {
|
$this->should_skip_build();
|
||||||
return;
|
$this->next(ApplicationDeploymentStatus::FINISHED->value);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private function should_skip_build()
|
private function should_skip_build()
|
||||||
|
Loading…
Reference in New Issue
Block a user