Skip to content

Instantly share code, notes, and snippets.

@technoweenie
Created August 13, 2010 19:02
Show Gist options
  • Save technoweenie/523370 to your computer and use it in GitHub Desktop.
Save technoweenie/523370 to your computer and use it in GitHub Desktop.
task :finish do
next if ENV['NOCAMPFIRE']
require "#{rails_root}/lib/campfire"
branch_name = branch.split('/', 2).last
msg = "#{deploying_user}'s #{rails_env} deployment of #{branch_name} is done!"
if rand > 0.7
msg.sub! /done\!$/, 'NOW DIAMONDS!'
end
Campfire.notify msg
end
@Aupajo
Copy link

Aupajo commented Aug 13, 2010

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment