No commit activity in last 3 years
No release in over 3 years
Simple Campfire notifications for Capistrano 3
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

>= 1.9.0
 Project Readme

Capistrano3::Campfire

Simple Campfire notifications for Capistrano 3

Installation

Add this line to your application's Gemfile:

gem 'capistrano3-campfire', group: :development

And then execute:

$ bundle

Add this line to your application's Capfile:

require 'capistrano3/campfire'

Usage

Add this line to your deploy.rb file:

after :publishing, 'campfire:deploy'

or at any other point on your choice.

Configure Campfire access:

set :campfire_subdomain, 'subdomain'
set :campfire_token,     'token'
set :campfire_room_id,   123

You can change default message as a whole:

set :campfire_message, -> { 'your message' }

or by setting these variables

set :campfire_user, 'me'
set :campfire_sha, fetch(:branch)
set :campfire_env, fetch(:stage)

Contributing

  1. Fork it ( https://github.com/spectator/capistrano3-campfire/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