murb / capistrano-phoenix

Phoenix integration for Capistrano

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

Phoenix integration for Capistrano


Languages

Language:Ruby 100.0%