Created
March 6, 2013 16:49
-
-
Save cap10morgan/5100822 to your computer and use it in GitHub Desktop.
Making Capistrano post to Humbug on deploy
This file contains 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
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