Check out the slides of the presentation about Drush deploy that was delivered by Lemberg`s Drupal developer Goruachev Mikhail at the DrupalCamp Kyiv 2014.
Find out more about Drupal at http://blog.lemberg.co.uk/
2. About drush-deploy
● Drush deploy is a deployment framework built on Drush.
● It is heavily influenced by Capistrano.
Version control is not deployment tool
13. Filesystem Structure
Current - Is a symlink to the
latest release directory;
Releases - Is a releases
directory;
Shared- (Git Cache /
Configuration);
httpdocs- Webroot (symlink
to current);
15. Tasks
● Before or after moving to new version
● On one or all servers
● Any console commands
16. drush deploy @web1
● updates your remote cache
● initializes and updates git submodules
● creates a new release directy
● copies your current codebase to the release directory
● links the ‚current‘ directory with your new deployed code
● executes your tasks
17. drush deploy-rollback @web1
● relinks the current directory with the previos release
● removes the faulty release