mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	292: Notification email reports SUCCESS even if deployment failed
Fixing the bug reported in #292
This commit is contained in:
		
							parent
							
								
									47e4d7c9a1
								
							
						
					
					
						commit
						66220d0e58
					
				@ -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 New Issue
	
	Block a user