Skip to content

Instantly share code, notes, and snippets.

@foca
Created November 23, 2008 19:10
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 foca/28171 to your computer and use it in GitHub Desktop.
Save foca/28171 to your computer and use it in GitHub Desktop.
Integrity.hooks do
on :successful_build, Deployer
on :failed_build, Notifier::Email
on :first_successful_build, Notifier::Email
on :build, Notifier::Irc
# the most common setup would be to have all notifiers on
# failed_build and first_successful_build, so maybe this
# shortcut would be cool too:
notify_with Notifier::Email, Notifier::Campfire
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment