/capistrano-phoenix

Phoenix integration for Capistrano

Primary LanguageRuby

Capistrano::Phoenix

Phoenix integration for Capistrano

Install

In Gemfile

gem 'capistrano-phoenix', '~> 0.1.0'

Usage

In Capfile

set :application, 'hello_project'
#...
require 'capistrano/phoenix'

you should set in deploy/:stage.rb

set :mix_env, 'prod'

Configurable options (in deploy.rb)

set :phoenix_role    ->{:some_role} #default {:app}
set :phoenix_mix_env ->'prod' #default fetch(:mix_env)