0.0
No commit activity in last 3 years
No release in over 3 years
Adds before and after deploy hooks that announce a deploy's start and success in a Campfire room.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 1.9.2
 Project Readme

Build Status

Campystrano

This project rocks and uses MIT-LICENSE.

Campystrano adds Campfire deploy hooks into the Capistrano deploy process.

Installation

Add the following to your Gemfile:

gem 'campystrano'

In your config/deploy.rb file, add the following:

  require 'campystrano'
  set :campfire_settings do
    {
      subdomain: mysubdomain,
      room: myroom,
      token: ENV['CAMPFIRE_TOKEN']
    }
  end

The :campfire_settings block must return a hash containing your Campfire account credentials. The :subdomain and :room are required. You must also set either a :token or a :username/:password pair.

Configuration

You can configure the emoji that bookends your deploy messages by adding the following to config/deploy.rb

set :campfire_emoji, ':neckbeard:'

TODO

  1. Add hooks for deploy failures and rollbacks
  2. Add support for custom hooks