No commit activity in last 3 years
No release in over 3 years
You better stab yourself if you deploy on friday!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

capistrano-friday

https://twitter.com/iamdevloper/status/450905958139834368

Why you deploy on friday?!

(inspired by twitter joke)

Installation

Add this line to your application's Gemfile:

gem 'capistrano-friday'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-friday

Usage

Require in Capfile to use the task:

# Capfile
require 'capistrano/friday'

In your config/deploy.rb (or config/deploy/production.rb) do something like that:

# config/deploy.rb
before 'deploy:starting', 'friday:check'

Options

In default configuration it's just a warning but you can completely disable deploying by setting:

set :friday_disable_deploy, true

You also can change default MOTD (default is :base_jumper):

set :friday_motd, :flipping_table

TODO: need to add many more MOTDs!

Ignore stages, so not as to punish the testing of code:

set :friday_ignored_stages, :staging
# or
set :friday_ignored_stages, [:staging, :testing]
# or completely remove
set :friday_ignored_stages, nil

By default, :staging is already ignored.

Contributing

  1. Fork it ( https://github.com/marshall-lee/capistrano-friday/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