Add this line to your application's Gemfile:
gem 'chatopsify', require: falseAnd then execute:
$ bundle install
Or install it yourself as:
$ gem install chatopsify
Require the gem in your Capfile:
require 'capistrano/chatopsify'
export CHATOPS_URI='your_chatops_uri'
export CHATOPS_API_KEY='your_chatops_api_key'
export CHATOPS_CHANNEL_ID='your_channel_id'# config/deploy.rb
...
set :chatops_uri, 'your_chatops_uri'
set :chatops_api_key, 'your_chatops_api_key'
set :chatops_channel_id, 'your_channel_id'
...Config deploy success/failure notifications are posted as thread replies to the initial deploy start message.
# config/deploy.rb
set :chatops_use_thread_replies, true©rs-phunt