Skip to content

Instantly share code, notes, and snippets.

@tanmayk
Created August 6, 2020 11:01
Show Gist options
  • Save tanmayk/832a75cc069c0a307d2efcd1e4b355ac to your computer and use it in GitHub Desktop.
Save tanmayk/832a75cc069c0a307d2efcd1e4b355ac to your computer and use it in GitHub Desktop.
#!/bin/bash
cd /PATH/TO/SITE
echo "Pulling latest copy of master branch..."
git pull origin master
echo "Installing dependencies"
composer install
echo "Synchronizing configurations"
drush cim -y --verbose
echo "Rebuilding cache"
drush cr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment