Created
July 13, 2013 08:51
-
-
Save scottrobertson/5990034 to your computer and use it in GitHub Desktop.
Simple post-receive hook for git deployment, with composer update.
This file contains hidden or 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 | |
WORKING_DIR=/var/www/site; | |
GIT_WORK_TREE=$WORKING_DIR git checkout -f; | |
cd $WORKING_DIR && composer update -o; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment