Skip to content

Commit

Permalink
To deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric-Guo committed Oct 21, 2024
1 parent 7476ff8 commit 9fc88cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions config/deploy/production.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
set :application, "pp_vendor"
set :repo_url, "https://git.thape.com.cn/rails/performance.git"
set :application, "high_five"
set :repo_url, "https://git.thape.com.cn/rails/high-five.git"
set :nginx_use_ssl, true
set :rails_env, "production"
set :puma_service_unit_name, :puma_pp_vendor
set :puma_service_unit_name, :puma_high_five
set :puma_systemctl_user, :system

server "thape_vendor", user: "pp_vendor", roles: %w[app db web]
server "thape_ai", user: "high_five", roles: %w[app db web]
2 changes: 1 addition & 1 deletion config/deploy/staging.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
set :repo_url, "https://git.thape.com.cn/rails/high-five.git"
set :nginx_use_ssl, true
set :rails_env, "production"
set :puma_service_unit_name, :puma_rails_starter
set :puma_service_unit_name, :puma_high_five
set :puma_systemctl_user, :system

server "bandwagon", user: "high_five", roles: %w[app db web]

0 comments on commit 9fc88cd

Please sign in to comment.