Skip to content

Deploy config files from other git repository for capistrano.

Notifications You must be signed in to change notification settings

fukajun/capistrano-config-files-deploy

Repository files navigation

Capistrano::ConfigFilesDeploy

Deploy config files from other git repository

Installation

Add this line to your application's Gemfile:

gem 'capistrano-config-files-deploy'

And then execute:

$ bundle

Or install it yourself as:

$ gem install capistrano-config-files-deploy

Usage

Add require to Capfile

require "capistrano/config_files_deploy"

Setting config/deploy.rb

set :config_files_git_url, '[email protected]:username/path-to-private-repository'
set :config_files_revision, 'v1.2.0'
set :config_files, { 'config/env.production' => '.env.production' }

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/fukajun/capistrano-config-files-deploy.

About

Deploy config files from other git repository for capistrano.

Resources

Stars

Watchers

Forks

Packages

No packages published