From 8ee8d7bad079a3852b884aa228c7c55b29b4578b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E9=9D=99?= Date: Tue, 5 Jul 2022 08:00:18 +0000 Subject: [PATCH] Update deploy scripts --- deploy/config/deploy.rb | 4 ++-- deploy/config/deploy/production.rb | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/deploy/config/deploy.rb b/deploy/config/deploy.rb index 4638e34b..696ea602 100644 --- a/deploy/config/deploy.rb +++ b/deploy/config/deploy.rb @@ -1,8 +1,8 @@ # config valid for current version and patch releases of Capistrano lock "~> 3.16.0" -set :application, "zcsmall" -set :repo_url, "git@gitee.com:zi-chunsheng-e-commerce/mall-server.git" +set :application, "jiqu" +set :repo_url, "git@gitee.com:paddy_technology/jiqu-mall-server.git" # Default branch is :master # ask :branch, `git rev-parse --abbrev-ref HEAD`.chomp diff --git a/deploy/config/deploy/production.rb b/deploy/config/deploy/production.rb index 8008d5f8..4447f6f3 100644 --- a/deploy/config/deploy/production.rb +++ b/deploy/config/deploy/production.rb @@ -7,8 +7,7 @@ # server "example.com", user: "deploy", roles: %w{app web}, other_property: :other_value # server "db.example.com", user: "deploy", roles: %w{db} -server "47.108.202.152", user: "deployer" -server "47.108.227.246", user: "deployer" +server "47.109.20.252", user: "deployer", roles: %w{admin supervisor} # role-based syntax # ================== @@ -32,7 +31,7 @@ server "47.108.227.246", user: "deployer" # http://capistranorb.com/documentation/getting-started/configuration/ # Feel free to add new variables to customise your setup. -set :deploy_to, "/www/wwwroot/api.zichunsheng.cn" +set :deploy_to, "/wwwroot/html/jiqu-library.peidikeji.cn" # Custom SSH Options