mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-28 10:08:56 +02:00
Change Deploy Stages with Constants.
This commit is contained in:
@@ -207,7 +207,7 @@ abstract class AbstractTask
|
||||
*/
|
||||
protected final function runCommand($command, &$output = null)
|
||||
{
|
||||
if ($this->getStage() == 'deploy') {
|
||||
if ($this->getStage() == self::STAGE_DEPLOY) {
|
||||
return $this->runCommandRemote($command, $output);
|
||||
} else {
|
||||
return $this->runCommandLocal($command, $output);
|
||||
|
||||
Reference in New Issue
Block a user