Last active
August 29, 2015 14:21
-
-
Save Sleavely/baaad302f9990b2337dc to your computer and use it in GitHub Desktop.
Simple Magento deployment
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
#!/bin/sh | |
cd ~/www/magento | |
# Pull main repo | |
git pull --no-edit origin master | |
# Update submodules | |
git submodule update --recursive | |
git submodule update --init --recursive | |
# Update symlinks | |
modman deploy-all | |
# Clean the cache to avoid stored configuration messing things up | |
cd src/tools/ | |
php cleanCache.php | |
# Winning! | |
echo "Winning!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment