Re-order deploy steps
Run database changes before importing configuration. References #127
This commit is contained in:
parent
5745f51d4c
commit
5ec999e3f2
|
@ -8,13 +8,13 @@
|
||||||
include_role:
|
include_role:
|
||||||
name: opdavies.drupal_settings_files
|
name: opdavies.drupal_settings_files
|
||||||
|
|
||||||
- name: Import configuration
|
- name: Run database updates
|
||||||
command: '{{ release_drush_path }} config-import -y'
|
command: '{{ release_drush_path }} updatedb -y'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ release_web_path }}'
|
chdir: '{{ release_web_path }}'
|
||||||
|
|
||||||
- name: Run database updates
|
- name: Import configuration
|
||||||
command: '{{ release_drush_path }} updatedb -y'
|
command: '{{ release_drush_path }} config-import -y'
|
||||||
args:
|
args:
|
||||||
chdir: '{{ release_web_path }}'
|
chdir: '{{ release_web_path }}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue