Allow to specify a branch to deploy for staging

This commit is contained in:
Ralf Teusner
2016-09-02 15:05:48 +02:00
parent 012e11857f
commit 99f1fe45a3

View File

@ -1,2 +1,3 @@
server '10.210.0.50', roles: [:app, :db, :puma_nginx, :web], user: 'debian'
set :rails_env, "staging"
set :branch, ENV['BRANCH'] if ENV['BRANCH']