X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole-core%2Fdist%2Fchain%2Fsite-update.yml;fp=vendor%2Fdrupal%2Fconsole-core%2Fdist%2Fchain%2Fsite-update.yml;h=faff04297ec7b8cdc4389a4a7698941e61431489;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/vendor/drupal/console-core/dist/chain/site-update.yml b/vendor/drupal/console-core/dist/chain/site-update.yml new file mode 100644 index 000000000..faff04297 --- /dev/null +++ b/vendor/drupal/console-core/dist/chain/site-update.yml @@ -0,0 +1,20 @@ +command: + name: site:update + description: 'Execute update commands' +commands: + # Backup current database + - command: database:dump + arguments: + database: 'default' + # Import configurations + - command: config:import + # Run pending update hooks + - command: update:execute + arguments: + module: 'all' + # Run pending update entities + - command: update:entities + # Rebuild caches + - command: cache:rebuild + arguments: + cache: 'all'