Skip to content

Commit

Permalink
Create DeployCommand.php (#1659)
Browse files Browse the repository at this point in the history
  • Loading branch information
danepowell authored and grasmash committed Jun 13, 2017
1 parent c8c5f04 commit 1810a25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Robo/Commands/Deploy/DeployCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,9 @@ public function updateSites() {

foreach ($this->getConfigValue('multisites') as $multisite) {
$this->say("Deploying updates to $multisite...");
$this->config->set('drush.uri', $multisite);
if (!$this->config->get('drush.uri')) {
$this->config->set('drush.uri', $multisite);
}

$status_code = $this->invokeCommand('setup:config-import');
$status_code = $this->invokeCommand('setup:toggle-modules');
Expand Down

0 comments on commit 1810a25

Please sign in to comment.