Skip to content

A strategy for Capistrano 3 to deploy prebuilt tarball.

License

Notifications You must be signed in to change notification settings

arwineap/capistrano-scm-tar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

capistrano-scm-tar

A tar strategy for Capistrano 3 to deploy tarball.

Installation

Add this line to your application's Gemfile:

gem 'capistrano-scm-tar'

Usage

Set tar as scm option in your config/deploy.rb:

set :scm, :tar

Build a release package of your project and upload it to the server you run capistrano:

tar czf /tmp/v1.0.0.tar.gz *
scp /tmp/v1.0.0.tar.gz example.com:/tmp/v1.0.0.tar.gz

And then, deploy it:

cap deploy package=/tmp/v1.0.0.tar.gz

The basename of tarball is used for the revision number of capistrano setting by set_current_revision.

License

The MIT License (MIT)

About

A strategy for Capistrano 3 to deploy prebuilt tarball.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%