capistrano-toolbox 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano-toolbox/nginx.rb +1 -1
- metadata +2 -2
@@ -3,7 +3,6 @@ require 'capistrano-toolbox/helpers'
|
|
3
3
|
Capistrano::Configuration.instance(:must_exist).load do
|
4
4
|
namespace :deploy do
|
5
5
|
namespace :nginx do
|
6
|
-
after "update_config", "reload"
|
7
6
|
|
8
7
|
desc "Updates nginx config"
|
9
8
|
task :update_config do
|
@@ -31,4 +30,5 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
31
30
|
end
|
32
31
|
end
|
33
32
|
|
33
|
+
after "deploy:nginx:update_config", "deploy:nginx:reload"
|
34
34
|
end
|