-
-
Save revagomes/478d1daa6c0b8985d6fa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$options['shell-aliases']['offline'] = 'variable-set -y --always-set maintenance_mode 1'; | |
$options['shell-aliases']['online'] = 'variable-delete -y --exact maintenance_mode'; | |
$options['shell-aliases']['sync-dbs'] = '!drush sql-sync --structure-tables-key=common --no-cache {{#prod}} {{@target}}'; | |
$options['shell-aliases']['sync-files'] = '!drush rsync {{#prod}}:%files {{@target}}:%files'; | |
$options['structure-tables']['common'] = array('cache', 'cache_filter', 'cache_menu', 'cache_page', 'history', 'sessions', 'watchdog'); | |
$options['shell-aliases']['sync-fsdb'] = '!drush sql-sync {{#prod}} {{@target}} && drush rsync {{#prod}}:%files {{@target}}:%files'; | |
$options['shell-aliases']['pull'] = '!git pull'; | |
$options['shell-aliases']['pulldb'] = '!git pull && drush updatedb'; | |
$options['shell-aliases']['unin'] = 'pm-disable -y && pm-uninstall -y'; | |
$options['shell-aliases']['noncore'] = 'pm-list --no-core'; | |
$options['shell-aliases']['wipe'] = 'cache-clear all'; | |
$options['shell-aliases']['unsuck'] = 'pm-disable -y overlay,dashboard'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment