Commit 88fa8c26 by Ngô Trung Hưng

fix deploy

parent 1d9128db
Pipeline #1109 failed with stages
in 0 seconds
......@@ -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.
# 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
......@@ -41,11 +41,11 @@
#
# Global options
# --------------
# set :ssh_options, {
# keys: %w(/home/user_name/.ssh/id_rsa),
# forward_agent: false,
# auth_methods: %w(password)
# }
set :ssh_options, {
keys: %w(/home/hungnt/.ssh/id_rsa),
forward_agent: false,
auth_methods: %w(password)
}
#
# The server-based syntax can be used to override options:
# ------------------------------------
......@@ -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
set :use_sudo, false
set :deploy_to, "/var/www/#{fetch(:application)}"
\ No newline at end of file
set :deploy_to, "/var/www/#{fetch(:application)}"
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