Skip to content

Instantly share code, notes, and snippets.

@juampynr
Last active December 16, 2017 11:13
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juampynr/3c14c4267cc505720a0a4598e6a5ef8f to your computer and use it in GitHub Desktop.
Save juampynr/3c14c4267cc505720a0a4598e6a5ef8f to your computer and use it in GitHub Desktop.
Drupal 8: Common steps to run after deploying code. See https://www.lullabot.com/articles/a-successful-drupal-8-deployment for further details.
#!/usr/bin/env bash
# If this is a production deployment script, append: --no-dev --optimize-autoloader --prefer-dist
composer install -vvv
drush updatedb -y -v
drush config-import -y -v
@nikathone
Copy link

I usually add drush entup -y between updatedb and config-import.

@juampynr
Copy link
Author

Hi @nikathone! I am not sure about that one yet. Can you chime in at https://twitter.com/Marinero/status/941673496295493634 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment