Capistrano::Notifications

Send notifications around deploy to teammates(subscribers).

Installation

Add this line to your application's Gemfile:

gem 'capistrano-notifications'

And then execute:

$ bundle

Usage

Slack

in deploy.rb

# deploy.rb
set :notify, -> {
  {
      to: %w(@scorix #deploy),
      via: :slack,
      options: {team: 'my-team', token: 'token'}
  }
}

in Capfile

# Capfile

require 'capistrano/notifications'

Contributing

  1. Fork it ( https://github.com/scorix/capistrano-notifications/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request