Skip to content

Instantly share code, notes, and snippets.

@awd
Created July 21, 2010 16:15
Show Gist options
  • Save awd/484701 to your computer and use it in GitHub Desktop.
Save awd/484701 to your computer and use it in GitHub Desktop.
#!/bin/sh
# CIJOE
#
# Put this file to $PROJECT/.git/hooks/ for email notifications.
#
# Do not forget: chmod +x build-failed
RAILS_ENV=staging rake woople:continuous_integration RECIPIENT=[your_email_address] STATUS="Failed" SHA=$SHA AUTHOR=$AUTHOR MESSAGE=$MESSAGE OUTPUT=$OUTPUT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment