Created
March 7, 2013 17:45
-
-
Save johnkoht/5110074 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
# 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