Skip to content

Commit 2c82dda

Browse files
authored
Merge pull request #18 from dennisinteractive/run_updates_before_config_import
Removed second updatedb
2 parents a9eda95 + 4348b01 commit 2c82dda

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

chain/chain-site-rebuild.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -49,18 +49,10 @@ commands:
4949
- command: exec
5050
arguments:
5151
bin: 'cd /vagrant/repos/%{{name}}/web; drush updb -y;'
52-
# Import configuration
52+
# Import configuration twice to fix a problem with config import when new modules are added to core.extensions.yml
5353
- command: exec
5454
arguments:
55-
bin: 'cd /vagrant/repos/%{{name}}/web; drush cim -y;'
56-
# Run db updates
57-
- command: exec
58-
arguments:
59-
bin: 'cd /vagrant/repos/%{{name}}/web; drush updb -y;'
60-
# Import configuration again to fix a problem with config import when new modules are added to core.extensions.yml
61-
- command: exec
62-
arguments:
63-
bin: 'cd /vagrant/repos/%{{name}}/web; drush cim -y;'
55+
bin: 'cd /vagrant/repos/%{{name}}/web; drush cim -y;drush cim -y'
6456
# Clear cache
6557
- command: exec
6658
arguments:

0 commit comments

Comments
 (0)