From 625fd572b660aba911637c2d87732d7ba28b1808 Mon Sep 17 00:00:00 2001 From: Alex Dunn Date: Sat, 15 Apr 2017 19:01:27 -0700 Subject: [PATCH] capistrano: allow overriding repo_url and branch (#1889) --- config/deploy.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index cbfb8ec9c8..9bcf907be1 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -1,8 +1,8 @@ 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 :repo_url, 'https://github.com/tootsuite/mastodon.git' -set :branch, 'master' set :rbenv_type, :user set :rbenv_ruby, File.read('.ruby-version').strip set :migration_role, :app