Skip to content

lumoslabs/campystrano

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published