Capistrano::GIT::Copy
Creates a tar archive from the locale git repository and uploads it to the remote server.
Requirements
Setup
Add the library to your Gemfile:
group :development do
gem 'capistrano-git-copy', require: false
end
And load it in your Capfile:
require 'capistrano/git/copy'
Now use git_copy as your SCM type in your config/deploy.rb:
set :scm, :git_copy
Configuration
You can modify any of the following Capistrano variables in your deploy.rb config.
git_archive_all_bin- Set git-archive-all command. Defaults to git-archive-all found in $PATH or to included version.git_copy_tmp_path- Temp path used to clone the repository and create archive.
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