diff --git a/frameworks/drupal/10.yaml b/frameworks/drupal/10.yaml index 88a00d2..c1b873a 100644 --- a/frameworks/drupal/10.yaml +++ b/frameworks/drupal/10.yaml @@ -95,8 +95,10 @@ setup: composer: drush/drush - label: Import config command: php vendor/drush/drush/drush.php config:import --yes + # A fresh install has no exported config, and importing an empty sync + # directory is refused because it would delete the site's configuration. check: - composer: drush/drush + file: config/sync/system.site.yml tinker: command: ["vendor/drush/drush/drush.php", "php:eval"] diff --git a/frameworks/drupal/11.yaml b/frameworks/drupal/11.yaml index 97a8ae5..e9563bc 100644 --- a/frameworks/drupal/11.yaml +++ b/frameworks/drupal/11.yaml @@ -95,8 +95,10 @@ setup: composer: drush/drush - label: Import config command: php vendor/drush/drush/drush.php config:import --yes + # A fresh install has no exported config, and importing an empty sync + # directory is refused because it would delete the site's configuration. check: - composer: drush/drush + file: config/sync/system.site.yml tinker: command: ["vendor/drush/drush/drush.php", "php:eval"] diff --git a/frameworks/drupal/8.yaml b/frameworks/drupal/8.yaml index d3733e3..db541f2 100644 --- a/frameworks/drupal/8.yaml +++ b/frameworks/drupal/8.yaml @@ -87,8 +87,10 @@ setup: composer: drush/drush - label: Import config command: php vendor/drush/drush/drush.php config:import --yes + # A fresh install has no exported config, and importing an empty sync + # directory is refused because it would delete the site's configuration. check: - composer: drush/drush + file: config/sync/system.site.yml tinker: command: ["vendor/drush/drush/drush.php", "php:eval"] diff --git a/frameworks/drupal/9.yaml b/frameworks/drupal/9.yaml index 67a1451..de11a7c 100644 --- a/frameworks/drupal/9.yaml +++ b/frameworks/drupal/9.yaml @@ -91,8 +91,10 @@ setup: composer: drush/drush - label: Import config command: php vendor/drush/drush/drush.php config:import --yes + # A fresh install has no exported config, and importing an empty sync + # directory is refused because it would delete the site's configuration. check: - composer: drush/drush + file: config/sync/system.site.yml tinker: command: ["vendor/drush/drush/drush.php", "php:eval"] diff --git a/packages/drush-drush.yaml b/packages/drush-drush.yaml index 6535b73..f8a658c 100644 --- a/packages/drush-drush.yaml +++ b/packages/drush-drush.yaml @@ -72,3 +72,7 @@ setup: default: true - label: Import config command: php vendor/drush/drush/drush.php config:import --yes + # A fresh install has no exported config, and importing an empty sync + # directory is refused because it would delete the site's configuration. + check: + file: config/sync/system.site.yml