Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Simple notification hooks for Capistrano
Ruby

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/capistrano
spec
.gitignore
.rspec
.rvmrc
Gemfile
Guardfile
LICENSE
README.md
Rakefile
capistrano-notifier.gemspec

README.md

CapistranoNotifier

Install

In your Gemfile:

gem 'capistrano-notifier'

and then bundle install

Configure

require 'capistrano/notifier'

set :notify_method, :test # :smtp, :sendmail, or any other valid ActionMailer delivery method
set :notify_from, "capistrano@domain.com"
set :notify_to, ["john@doe.com", "jane@doe.com"]
set :notify_github_project, "MyCompany/project-name"

namespace :deploy do
  desc "Capistrano Notifier"
  task :notify do
    Capistrano::Notifier.new(self).perform
  end
end

after 'deploy', 'deploy:notify'

Test

cap deploy:notify
Something went wrong with that request. Please try again.