Skip to content

Instantly share code, notes, and snippets.

View stevemartin's full-sized avatar

Steve Martin stevemartin

View GitHub Profile
@stevemartin
stevemartin / gist:6516767
Created September 10, 2013 22:39
An example track deploy setup
require 'net/http'
require 'json'
before 'deploy:starting', 'track:start'
after 'deploy:finished', 'track:finish'
namespace :track do
task :start do
unless ENV['BYPASS_TRACKING']
user_name = `git config --get user.name`.chomp