Skip to content
Notify to Lingr after deploy by Capistrano
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/capistrano
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE
README.md
Rakefile
capistrano-lingr.gemspec

README.md

Capistrano::Lingr Build Status

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

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request
Something went wrong with that request. Please try again.