Skip to content

Instantly share code, notes, and snippets.

@Sleavely
Last active August 29, 2015 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sleavely/baaad302f9990b2337dc to your computer and use it in GitHub Desktop.
Save Sleavely/baaad302f9990b2337dc to your computer and use it in GitHub Desktop.
Simple Magento deployment
#!/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