Capistrano::Releases::Notification
Notify github releases to slack for Capistrano ver3.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-releases-notification'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-releases-notification
Usage
Capfile
require 'capistrano/github/releases' # dependency
require 'capistrano/slack_notification' # dependency
require 'capistrano/releases/notification'
config/deploy.rb
set :release_notify_channel, ['#general']
set :release_notify_mention, []
after 'deploy:finishing', 'release:notify'
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/kimromi/capistrano-releases-notification. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
Author
Thanks
License
The gem is available as open source under the terms of the MIT License.