Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob_nth
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
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ngô Trung Hưng
venjob_nth
Commits
88fa8c26
Commit
88fa8c26
authored
Sep 18, 2020
by
Ngô Trung Hưng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix deploy
parent
1d9128db
Pipeline
#1109
failed with stages
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
7 deletions
+14
-7
config/deploy.rb
+8
-0
config/deploy/staging.rb
+6
-7
No files found.
config/deploy.rb
View file @
88fa8c26
...
@@ -37,3 +37,11 @@ set :repo_url, "git@example.com:me/my_repo.git"
...
@@ -37,3 +37,11 @@ set :repo_url, "git@example.com:me/my_repo.git"
# Uncomment the following to require manually verifying the host key before first deploy.
# Uncomment the following to require manually verifying the host key before first deploy.
# set :ssh_options, verify_host_key: :secure
# set :ssh_options, verify_host_key: :secure
# config valid only for current version of Capistrano
lock
"3.14.1"
set
:application
,
"venjob"
set
:repo_url
,
"git@gitlab.zigexn.vn:hungnt/venjob_nth.git"
set
:log_level
,
:debug
config/deploy/staging.rb
View file @
88fa8c26
...
@@ -41,11 +41,11 @@
...
@@ -41,11 +41,11 @@
#
#
# Global options
# Global options
# --------------
# --------------
#
set :ssh_options, {
set
:ssh_options
,
{
# keys: %w(/home/user_name
/.ssh/id_rsa),
keys:
%w(/home/hungnt
/.ssh/id_rsa)
,
#
forward_agent: false,
forward_agent:
false
,
#
auth_methods: %w(password)
auth_methods:
%w(password)
#
}
}
#
#
# The server-based syntax can be used to override options:
# The server-based syntax can be used to override options:
# ------------------------------------
# ------------------------------------
...
@@ -78,4 +78,4 @@ role :app, "#{fetch(:user)}@192.168.1.139" # T
...
@@ -78,4 +78,4 @@ role :app, "#{fetch(:user)}@192.168.1.139" # T
#role :db, "10.1.173.15", :primary => true # This is where Rails migrations will run
#role :db, "10.1.173.15", :primary => true # This is where Rails migrations will run
set
:use_sudo
,
false
set
:use_sudo
,
false
set
:deploy_to
,
"/var/www/
#{
fetch
(
:application
)
}
"
set
:deploy_to
,
"/var/www/
#{
fetch
(
:application
)
}
"
\ No newline at end of file
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