mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-17 21:26:40 +02:00
Merge pull request #293 from natechicago/292-bugfix
292: Notification email reports SUCCESS even if deployment failed
This commit is contained in:
commit
62c575f5b5
|
@ -215,7 +215,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
|||
Console::output('Total time: <bold>' . $timeText . '</bold>.', 1, 2);
|
||||
|
||||
// Send Notifications
|
||||
$this->sendNotification(self::$failedTasks > 0 ? false : true);
|
||||
$this->sendNotification(self::$deployStatus === self::SUCCEDED);
|
||||
|
||||
// Unlock
|
||||
if (file_exists(getcwd() . '/.mage/~working.lock')) {
|
||||
|
|
Loading…
Reference in a new issue