Run more Drush commands during deployment
This commit is contained in:
parent
7a75f6b07c
commit
526f567da1
2 changed files with 13 additions and 1 deletions
|
@ -7,3 +7,12 @@
|
|||
- name: Generate settings.php file
|
||||
include_role:
|
||||
name: './roles/drupal-settings'
|
||||
|
||||
- name: Import configuration
|
||||
command: '{{ release_drush_path }} config-import -y chdir={{ release_web_path }}'
|
||||
|
||||
- name: Run database updates
|
||||
command: '{{ release_drush_path }} updatedb -y chdir={{ release_web_path }}'
|
||||
|
||||
- name: Rebuild cache
|
||||
command: '{{ release_drush_path }} cache-rebuild chdir={{ release_web_path }}'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue