Notify to Lingr after deploy by Capistrano
Requirements
-
capistrano
< 3
Installation
Add this line to your application's Gemfile:
gem 'capistrano-lingr'
And then execute: bundle install
Usage
before using gem, need to make bot of Lingr. Lingr/developer
In config/deploy.rb
require 'capistrano/lingr'
set :lingr_config, {
room_id: "hoge",
bot_id: "huga",
secret: "piyo",
text: "DEPLOY DONE!!!" # You can specify the string you want. but not required.
}
after :deploy, 'notify:lingr'
Contributing
- 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