drupal-operator icon indicating copy to clipboard operation
drupal-operator copied to clipboard

Run Drush commands when Drupal deployment image is updated

Open geerlingguy opened this issue 6 years ago • 4 comments

If the Drupal deployment image is updated, then we should at minimum run the following Drush commands:

  1. drush updb -y
  2. drush csim -y (or drush cim -y if not using Config Split)
  3. drush cr

Maybe just updb and cr as defaults, but it would be best if the command list were overridable.

geerlingguy avatar Jul 29 '19 17:07 geerlingguy

Related: #9 ‚ since the default Drupal image from Docker Hub doesn't include Drush.

geerlingguy avatar Jul 30 '19 21:07 geerlingguy

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

stale[bot] avatar Mar 19 '20 01:03 stale[bot]

This issue is no longer marked for closure.

stale[bot] avatar Mar 19 '20 01:03 stale[bot]