#!/bin/sh echo "" echo "Switching to project docroot." cd /var/www/project-name/public_html echo "" echo "Pulling down latest code." git pull --ff-only origin prod echo "" echo "Clearing drush cache" drush cc drush echo "" echo "Run database updates." drush updb -y echo "" echo "Reverting features modules." drush fra -y echo "" echo "Clearing caches." echo "" drush cc all echo "" echo "Deployment complete."