Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
app_push
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_server
app_push
Commits
41b1d714
Commit
41b1d714
authored
Apr 15, 2020
by
liangyuzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change master branch
parent
9f0ae753
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
config/deploy/staging.rb
+2
-1
No files found.
config/deploy/staging.rb
View file @
41b1d714
...
@@ -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'
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment