Automating Drupal workflow using Git and Drush
Update Nov 11, 2009: Updated the script to accept username and server name as arguments and to print syntax help if no argument is passed. It would eliminate to modify script for different servers.
Drupal rocks for some things, its deployment sucks! As I automate my drupal workflows better, I should post them one by one.
Following is the my bash script recipe, for installing drupal, checking it into a git repository and replicating it remotely.
The second piece of puzzle should be automating MySQL backup and deployment using either Capistrano or Vlad.




3 comments
Great script! Thanks for Sharing it. Would be great if one could add a port as parameter.
I think for the second piece of this puzzle this module could be very helpful: http://drupal.org/project/dbscripts Description sounds interesting an very useful. But i haven’t tried it yet.
i have forked your script on gitorious and added port option and “generalized” the drush call with a “which drush” call
http://gitorious.org/drupal-git-drush-automator/drupal-git-drush-automator
Great job EgonO!
Leave a Comment