Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  Config import before translations.
  • Loading branch information
Jelle-S committed Mar 9, 2017
2 parents c352915 + edcfaec commit a20b2ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/RoboFileBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,14 @@ protected function updateTask($worker, AbstractAuth $auth, $remote, $extra = [])
$extra += ['config-import' => false];
$currentProjectRoot = $remote['currentdir'] . '/..';
$update = 'vendor/bin/robo digipolis:update-drupal8';
$update .= $extra['config-import'] ? ' --config-import' : '';
$collection = $this->collectionBuilder();
$collection
->taskSsh($worker, $auth)
->remoteDirectory($currentProjectRoot, true)
// Updates can take a long time. Let's set it to 15 minutes.
->timeout(900)
->exec($update);
if ($extra['config-import']) {
$collection->taskSsh($worker, $auth)
->remoteDirectory($currentProjectRoot, true)
->exec('vendor/bin/drupal config:import');
}
return $collection;
}

Expand Down

0 comments on commit a20b2ad

Please sign in to comment.