diff --git a/config/build.yml b/config/build.yml index 0379c6ca7..efa3bd5ed 100644 --- a/config/build.yml +++ b/config/build.yml @@ -80,7 +80,6 @@ drupal: drush: bin: ${composer.bin}/drush dir: ${docroot} - uri: default assume: yes passthru: yes logoutput: yes diff --git a/src/Robo/Hooks/InitHook.php b/src/Robo/Hooks/InitHook.php index db8668dbf..e15d42ccd 100644 --- a/src/Robo/Hooks/InitHook.php +++ b/src/Robo/Hooks/InitHook.php @@ -29,7 +29,9 @@ public function initialize() { // We set the value for site late in the bootstrap process so that a user // may define its value at runtime via --define. This can only happen after // input has been processed. - $site = $this->getConfigValue('site', 'default'); + $multisites = $this->getConfigValue('multisites'); + $first_multisite = reset($multisites); + $site = $this->getConfigValue('site', $first_multisite); $this->getConfig()->setSiteConfig($site); }