https://github.com/capistrano/copy-files
Capistrano v3.* extension for copying files between releases
https://github.com/capistrano/copy-files
Last synced: over 1 year ago
JSON representation
Capistrano v3.* extension for copying files between releases
- Host: GitHub
- URL: https://github.com/capistrano/copy-files
- Owner: capistrano
- License: mit
- Created: 2013-11-26T17:32:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2015-02-03T03:53:43.000Z (over 11 years ago)
- Last Synced: 2024-03-25T19:58:42.757Z (over 2 years ago)
- Language: Ruby
- Homepage:
- Size: 214 KB
- Stars: 23
- Watchers: 6
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
capistrano-copy-files
=====================
Capistrano v3.* extension for copying files between releases
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'capistrano', '~> 3.3.0'
gem 'capistrano-copy-files'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-copy-files
## Usage
Require in `Capfile` to use the default task:
```ruby
require 'capistrano/copy_files'
```
The task will run during `deploy:updating` as part of Capistrano's default deploy
Configurable options:
```ruby
set :copy_files, [] # default
set :copy_file_flags, "" # default
set :copy_dir_flags, "-R" # default
```