Skip to content

Instantly share code, notes, and snippets.

Created October 13, 2016 20:16
Show Gist options
  • Save anonymous/11fd3098eda61a613dd6d1b5d4201514 to your computer and use it in GitHub Desktop.
Save anonymous/11fd3098eda61a613dd6d1b5d4201514 to your computer and use it in GitHub Desktop.
Sample drush deploy script
#!/usr/bin/env drush
<?php
drush_invoke('updb');
drush_invoke('rr');
module_enable(array('syslog'), TRUE);
module_disable(array('dblog'), TRUE);
drupal_uninstall_modules(array('dblog'), TRUE);
variable_set('image_toolkit', 'imagemagick');
variable_set('imagemagick_convert', 'convert');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment