capistrano-copy-subdir

a capistrano strategy to deploy subdir with copy strategy.

Installation

Add this line to your application's Gemfile:

gem 'capistrano-copy-subdir'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-copy-subdir

Usage

Configure strategy as :copy_subidr and specify your application path in :deploy_subdir.

# in "config/deploy.rb"
set(:deploy_via, :copy_subdir)
set(:deploy_subdir, '/where/your/app/is/in')

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

License

MIT