mirror of
https://github.com/hauke68/Magallanes.git
synced 2025-08-26 05:10:17 +02:00
Merge pull request #172 from dmotylev/master
fix: DeployCommand does not fail after failed "Deployment Task"
This commit is contained in:
commit
755fe138ad
@ -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 New Issue
Block a user