Skip to content

Instantly share code, notes, and snippets.

View Mumakil's full-sized avatar

Otto Vehviläinen Mumakil

View GitHub Profile
@marten
marten / deploy.rb
Created November 13, 2014 10:26
Capistrano Flowdock integration
set :format, :capture
# rest of your deploy.rb goes here
after 'deploy:started', 'notify:flowdock:started' do
$flowdock_deploy_thread = Deployer::Flowdock::Deployment.new(application: fetch(:application),
environment: fetch(:rails_env) || fetch(:rack_env),
repo_name: fetch(:repo_url).gsub(/\Agit@github.com:(.*).git/, "\\1"),