This gem adds hooks to capistrano to send push notifications using Pushover service.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install capistrano-pushover
Add to deploy.rb:
require 'capistrano-pushover' set :pushover_app_token, 'Your Pushover Application Token' set :pushover_user_key, 'Your Pushover User Token'
Now you are ready to recieve notificaion about deploys.
If a deploy fails you will also recieve notification about the failure.
Who did it?
To determine the user that is currently running the deploy, the capistrano tasks will look for the following:
- The $PUSHOVER_USER environment variable.
- The git user.name var.
- The $USER environment variable.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request
Copyright © 2012 Shuky Dvir.
See LICENSE for details.