Commit 41b1d714 by liangyuzhe

change master branch

parent 9f0ae753
...@@ -2,7 +2,7 @@ require 'json' ...@@ -2,7 +2,7 @@ require 'json'
file = File.read("config/server.json") file = File.read("config/server.json")
deploy_config = JSON.parse(file) deploy_config = JSON.parse(file)
branch = deploy_config['branch'] || 'master' branch = 'master'
set :branch, branch set :branch, branch
append :linked_files, 'config/server.json' append :linked_files, 'config/server.json'
...@@ -12,6 +12,7 @@ set :rails_env, :production ...@@ -12,6 +12,7 @@ set :rails_env, :production
set :port, 40022 set :port, 40022
set :repo_url, 'ssh://gitlab@gitlab.ikcrm.com:40022/ikcrm_server/app_push.git' set :repo_url, 'ssh://gitlab@gitlab.ikcrm.com:40022/ikcrm_server/app_push.git'
set :application, 'app_push' set :application, 'app_push'
set :rvm_ruby_version, '2.6.5'
set :deploy_to, deploy_config['deploy_to'] set :deploy_to, deploy_config['deploy_to']
set :shared_path, -> { fetch(:deploy_to) + '/shared' } set :shared_path, -> { fetch(:deploy_to) + '/shared' }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment