Skip to content

Commit

Permalink
use acms during fixture creation
Browse files Browse the repository at this point in the history
  • Loading branch information
Raksha-Bharuka committed Oct 29, 2024
1 parent 9e11067 commit ded791f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Domain/Fixture/FixtureCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ public function create(FixtureOptions $options): void {
$this->installCloudHooks();
$this->ensureDrupalSettings();
$this->installSite();
$this->runAcmsCommands();
$this->setUpFilesDirectories();
$this->customizeFixture();
$this->createAndCheckoutBackupTag();
Expand Down Expand Up @@ -982,9 +983,6 @@ private function displaySecurityVulnerabilityAdvisories(): void {
* Runs ACMS commands.
*/
public function runAcmsCommands(): void {
if ($this->fixtureInspector->getInstalledPackageVersionPretty('acquia/acquia_cms') === '~') {
return;
}
$this->output->comment("ACMS commands started... ");
$this->output->section('Run ACMS Site Build');
$this->processRunner->runFixtureVendorBin(['acms', 'acms:build', 'acquia_cms_community', '--no-interaction']);
Expand Down

0 comments on commit ded791f

Please sign in to comment.