mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-08 14:28:57 +02:00
Set branch revert as the last task on post deployment
This commit is contained in:
@@ -251,7 +251,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
||||
|
||||
// Change Branch Back
|
||||
if ($config->deployment('scm', false)) {
|
||||
array_unshift($tasksToRun, 'scm/change-branch');
|
||||
array_push($tasksToRun, 'scm/change-branch');
|
||||
$config->addParameter('_changeBranchRevert');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user