Last active
May 5, 2016 07:14
-
-
Save jehaby/4fe16ec0b6513e16e2d20cc1b3128e56 to your computer and use it in GitHub Desktop.
git hooks for Symfony deploy
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/bash | |
# for Symfony 3.0+ | |
./bin/console cache:clear -e prod | |
#for Symfony 2* | |
./app/console cache:clear -e prod |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment