mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-07 16:22:15 +02:00
Merge pull request #234 from aglejberman/master
Set branch revert as the last task on post deployment
This commit is contained in:
commit
7a0a8c6013
|
@ -267,7 +267,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
||||||
|
|
||||||
// Change Branch Back
|
// Change Branch Back
|
||||||
if ($config->deployment('scm', false)) {
|
if ($config->deployment('scm', false)) {
|
||||||
array_unshift($tasksToRun, 'scm/change-branch');
|
array_push($tasksToRun, 'scm/change-branch');
|
||||||
$config->addParameter('_changeBranchRevert');
|
$config->addParameter('_changeBranchRevert');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue