Skip to content

A plugin for capistrano scm to deploy static sites

License

Notifications You must be signed in to change notification settings

Grasruts/static

Repository files navigation

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