capistrano-scm-git-export
Adds scm strategy archives your local git for Capistrano 3.x. Useful when your deployment environment cannot reach remote git repository.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-scm-git-export'
Usage
Set :scm
as :git_export
, and :branch
as you want in config/deploy.rb
or config/deploy/ENVIRONMENT
.
set :scm, :git_export
set :branch, 'master'
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request