No commit activity in last 3 years
No release in over 3 years
Adds the deploy:upload task back to Capistrano 3 (also restarts app)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 3.0.0, ~> 3.0
 Project Readme

Capistrano upload

Adds a deploy:upload task that can be used to copy files to the currently deployed version. After it uploads, it restarts the app on the server for an instant update.

Install

Add the library to your Gemfile:

gem 'capistrano-upload-restart', require: false

And load it into your deployment script config/deploy.rb:

require 'capistrano/upload-restart'

Usage

Example of usage:

$ cap staging deploy:upload FILES=config/locales/en.yml

This will upload your locale file to the staging deployment.

Responsibility

This task can be used to override files and may damage your deployment if used incorrectly. We take no responsibility for the use of this task. Use at your own risk!