Created
August 14, 2013 07:37
-
-
Save crazyrohila/6228762 to your computer and use it in GitHub Desktop.
A lazy man's drupal deploy script.
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 | |
exec('git pull && drush cc all', $output); | |
/** | |
* Pull from specific branch. | |
* eg. exec('git pull origin <branchname> && drush cc all', $output); | |
*/ | |
print_r($output); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment