Skip to content

Commit

Permalink
Fix cap task desc typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hackartisan committed Dec 20, 2024
1 parent fc9089f commit c15f996
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Default value for linked_dirs is []
# append :linked_dirs, "log", "tmp/pids", "tmp/cache", "tmp/sockets", "public/system"
# # You can/ should apply this command to a subset of hosts
# cap --hosts=abid-staging2.lib.princeton.edu staging application:remove_from_nginx
# cap --hosts=abid-staging2.lib.princeton.edu staging remove_from_nginx
desc "Marks the server(s) to be removed from the loadbalancer"
task :remove_from_nginx do
count = 0
Expand All @@ -45,9 +45,10 @@
end
end
end

# You can/ should apply this command to a subset of hosts
# cap --hosts=abid-staging2.lib.princeton.edu staging application:serve_from_nginx
desc "Marks the server(s) to be removed from the loadbalancer"
# cap --hosts=abid-staging2.lib.princeton.edu staging serve_from_nginx
desc "Marks the server(s) to be placed back on the loadbalancer"
task :serve_from_nginx do
on roles(:app) do
within release_path do
Expand Down

0 comments on commit c15f996

Please sign in to comment.