capistrano: allow overriding repo_url and branch (#1889)

This commit is contained in:
Alex Dunn 2017-04-15 19:01:27 -07:00 committed by Eugen
parent 3834e1e69b
commit 6a1ac9b31f

View File

@ -1,8 +1,8 @@
lock '3.7.2' lock '3.7.2'
set :repo_url, ENV.fetch('REPO', 'https://github.com/tootsuite/mastodon.git')
set :branch, ENV.fetch('BRANCH', 'master')
set :application, 'mastodon' set :application, 'mastodon'
set :repo_url, 'https://github.com/tootsuite/mastodon.git'
set :branch, 'master'
set :rbenv_type, :user set :rbenv_type, :user
set :rbenv_ruby, File.read('.ruby-version').strip set :rbenv_ruby, File.read('.ruby-version').strip
set :migration_role, :app set :migration_role, :app