mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-09 01:02:15 +02:00
fix: DeployCommand does not fail when no one "Post-Deployment Tasks" failed and failed "Deployment Task" exist
This commit is contained in:
parent
683d11ac90
commit
3b70a8a3c1
|
@ -202,7 +202,11 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
|||
if (self::$failedTasks === 0) {
|
||||
$exitCode = 0;
|
||||
}
|
||||
|
||||
|
||||
if (self::$deployStatus === self::FAILED) {
|
||||
$exitCode = 1;
|
||||
}
|
||||
|
||||
return $exitCode;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue