Skip to content

Instantly share code, notes, and snippets.

@johnkoht
Created March 7, 2013 17:45
Show Gist options
  • Save johnkoht/5110074 to your computer and use it in GitHub Desktop.
Save johnkoht/5110074 to your computer and use it in GitHub Desktop.
# In your deploy.rb add the following code. This will run the rake task
# when deployment beings
before :deploy do
run_locally 'rake sms:send["We\'re doing the thing - kohbot"]'
end
# And then send another after the deployment is over
after :deploy do
run_locally 'rake sms:send["The thing is over :( - kohbot)"]'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment