mina_ryver

Adds tasks to aid in the Ryver notifications.


Keywords
deployment, mina, ryver
License
Other
Install
gem install mina_ryver -v 0.0.2

Documentation

Installation

Add this line to your application's Gemfile:

gem 'mina-ryver'

And then execute:

$ bundle

Or install it yourself as:

$ gem install mina-ryver

Usage

Load the recipe

Include the recipe in your deploy.rb

# config/deploy.rb
require 'mina/ryver'

Setup Ryver Details

You'll need to create a hook to push message to your channel. You should use ENV variable for this. The url should be like this: https://your-domain.ryver.com/application/webhook/2JHY77a4Bg4An9X

# required
set :ryver_channels, ['2JHY77a4Bg4An9X']


task :deploy do
  deploy do
    invoke :'ryver:notify_deploy_started'
    ...

    to :launch do
      ...
      invoke :'ryver:notify_deploy_finished'
    end
  end
end