From: Alex Dunn Date: Sun, 16 Apr 2017 02:01:27 +0000 (-0700) Subject: capistrano: allow overriding repo_url and branch (#1889) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=6a1ac9b31fb6a8270bb6e25b1a8a459abf7a4f25;p=mastodon.git capistrano: allow overriding repo_url and branch (#1889) --- diff --git a/config/deploy.rb b/config/deploy.rb index cbfb8ec9c..9bcf907be 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