Skip to content

Commit 464b823

Browse files
authored
Update chain-site-rebuild.yml
Workaround by Me and David to make config import work when new modules are added
1 parent 84c1dbe commit 464b823

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

chain/chain-site-rebuild.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,15 @@ commands:
3939
- command: site:db:import
4040
arguments:
4141
name: '%{{name}}'
42+
# Import configuration
43+
- command: exec
44+
arguments:
45+
bin: 'cd /vagrant/repos/%{{name}}/web; drush cim -y;'
4246
# Run db updates
4347
- command: exec
4448
arguments:
4549
bin: 'cd /vagrant/repos/%{{name}}/web; drush updb -y;'
46-
# Import configuration
50+
# Import configuration again to fix a problem with config import when new modules are added to core.extensions.yml
4751
- command: exec
4852
arguments:
4953
bin: 'cd /vagrant/repos/%{{name}}/web; drush cim -y;'

0 commit comments

Comments
 (0)