dapi / capistrano-scm-static

A plugin for capistrano scm to deploy static sites

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

A plugin for capistrano scm to deploy static sites

License:MIT License


Languages

Language:Ruby 96.4%Language:Shell 3.6%