Repository is archived
No commit activity in last 3 years
No release in over 3 years
Upload local files to remote server (plugin for Capistrano 3.x)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.16
~> 10.0

Runtime

~> 1.9
 Project Readme

Capistrano::File::Upload

Upload local files to remote server (plugin for Capistrano 3.x)

Installation

Add this line to your application's Gemfile:

gem 'capistrano', '~> 3.5'
gem 'capistrano-file-upload'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-file-upload

Usage

Require in Capfile to use the default task:

require 'capistrano/file-upload'

The task will run before deploy:updated as part of Capistrano's default deploy.

Configurable options:

append :file_upload_files, 'config/parameters.json' # default value is []
append :file_upload_dirs, 'shared', 'web/assets'    # default value is []
set :file_upload_roles, :all                        # default