mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Releases Rollback. Tweaks.
This commit is contained in:
@@ -31,6 +31,8 @@ class Mage_Task_Deploy
|
||||
Mage_Console::output('Deploying to <dark_gray>' . $host . '</dark_gray>');
|
||||
|
||||
$tasksToRun = $config->getTasks();
|
||||
array_unshift($tasksToRun, 'deployment/rsync');
|
||||
|
||||
if ($config->release('enabled', false) == true) {
|
||||
$config->setReleaseId($this->_releaseId);
|
||||
array_push($tasksToRun, 'deployment/releases');
|
||||
@@ -57,8 +59,6 @@ class Mage_Task_Deploy
|
||||
}
|
||||
}
|
||||
|
||||
// Run Post-Deployment Tasks
|
||||
|
||||
if ($completedTasks == $tasks) {
|
||||
$tasksColor = 'green';
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user