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

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c045a9d · Feb 2, 2020

History

9 Commits
Feb 14, 2019
Feb 2, 2020
Feb 14, 2019
Feb 14, 2019
Feb 14, 2019
Feb 14, 2019
Feb 14, 2019
Feb 14, 2019
Feb 2, 2020
Feb 14, 2019
Jun 27, 2019
Feb 14, 2019
Feb 14, 2019
Feb 14, 2019

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