No commit activity in last 3 years
No release in over 3 years
Confirm before deploy, Make sure you are not deploying the wrong branch, and remind you should deploy it after code review! Please use it, because I write it after deployed a wrong branch to our production server! ;(
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme
= Capistrano Confirm

  Confirm before deploy.

  Make sure you are not deploying the wrong branch, and remind you should deploy it after code review!

  Please use it, because I write it after deployed a wrong branch to our production server! ;(

== Usage:

  1, Add it to your Gemfile:

    gem 'capistrano-confirm'

  2, Require it in your deploy config file, it should be `config/deploy.rb` for rails

    require "bundler/setup"
    require 'capistrano/confirm'

  3, Only want to confirm for some stages? customize `confirm_stages` as your like.

    For example, only want to confirm when deploying production, Add below to your deploy.rb
      set :confirm_stages, "production"

    Or confirm when deploying staging and production? Ok, Add something like this
      set :confirm_stages, [:production, :staging]

== Author
  Jinzhu Zhang
  wosmvp@gmail.com
  http://github.com/jinzhu