Re-order deploy steps

Run database changes before importing configuration.

References #127
This commit is contained in:
Oliver Davies 2020-06-12 02:15:52 +01:00
parent 5745f51d4c
commit 5ec999e3f2

View file

@ -8,13 +8,13 @@
include_role:
name: opdavies.drupal_settings_files
- name: Import configuration
command: '{{ release_drush_path }} config-import -y'
- name: Run database updates
command: '{{ release_drush_path }} updatedb -y'
args:
chdir: '{{ release_web_path }}'
- name: Run database updates
command: '{{ release_drush_path }} updatedb -y'
- name: Import configuration
command: '{{ release_drush_path }} config-import -y'
args:
chdir: '{{ release_web_path }}'