Skip to content

Latest commit

 

History

History
28 lines (15 loc) · 435 Bytes

README.md

File metadata and controls

28 lines (15 loc) · 435 Bytes

capistrano scm static

It is a plugin for capistrano scm to deploy static sites.

Installation

Gemfile.rb

gem 'capistrano-scm-static', '~> 0.0.2', require: false

Capfile

require 'capistrano/scm/static'
install_plugin Capistrano::SCM::Static

deploy.rb

set :dist, 'path to your static template compilation folder'

For eg,

set :dist, 'build' # in case for reactjs

set :dist, 'dist' # in case for vuejs