Skip to content

Instantly share code, notes, and snippets.

@cap10morgan
Created March 6, 2013 16:49
Show Gist options
  • Save cap10morgan/5100822 to your computer and use it in GitHub Desktop.
Save cap10morgan/5100822 to your computer and use it in GitHub Desktop.
Making Capistrano post to Humbug on deploy
after 'deploy:create_symlink', 'notify:humbug'
namespace :notify do
desc "Post a message to Humbug that we've deployed"
task :humbug do
# this will post to Humbug as the user defined in ~/.humbugrc
run_locally "echo ':beers: I just deployed to #{stage}! :beers:' | humbug-send --stream commits --subject deployments || true"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment