From becc4dc1ae93f62f9f68696789de650d11454d93 Mon Sep 17 00:00:00 2001 From: Alex Skrenchuk Date: Tue, 7 Nov 2023 21:53:38 -0800 Subject: [PATCH] Add configurable option for github org where code is deployed from --- config/deploy.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 6b051216..d4f0903b 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -2,8 +2,9 @@ APP_PATH = '/srv/ontoportal' +set :author, 'ncbo' set :application, 'ontologies_api' -set :repo_url, "https://github.com/ncbo/#{fetch(:application)}.git" +set :repo_url, "https://github.com/#{fetch(:author)}/#{fetch(:application)}.git" set :deploy_via, :remote_cache