Skip to content

Instantly share code, notes, and snippets.

@foiseworth
Created October 14, 2012 15:27
Show Gist options
  • Save foiseworth/3888913 to your computer and use it in GitHub Desktop.
Save foiseworth/3888913 to your computer and use it in GitHub Desktop.
Webfaction post receive hook to deploy website
GIT_WORK_TREE=/home/ACCOUNT_NAME/webapps/APP_NAME git checkout -f
GIT_WORK_TREE=/home/ACCOUNT_NAME/webapps/APP_NAME git reset --hard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment