No commit activity in last 3 years
No release in over 3 years
Send capistrano deployment notificatons to https://slack.com/
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

> 1.0
>= 0
~> 3.1.0
~> 1.17.4

Runtime

 Project Readme

Capistrano::Slackbot Build Status Gem Version

Slack intergation for Capistrano 3.

capistrano-slackbot

Installation

Add this line to your application's Gemfile:

gem "capistrano-slackbot"

And then execute:

$ bundle

Usage

Add capistrano/slackbot to your Capfile:

# Capfile

require "capistrano/slackbot"

Then add some configuation options to your deploy.rb:

# deploy.rb

set :slack_webhook_url, ENV["SLACK_WEBHOOK"] # from your "Incoming Webhook" integration
set :slack_options, { channel: "#general", icon_emoji: ":shipit:" } # arbitrary additional options passed to slack

And deploy away!

Contributing

  1. Fork it ( https://github.com/[my-github-username]/capistrano-slackbot/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request