lib/mina-ext/deploy.rb in mina-ext-0.1.0 vs lib/mina-ext/deploy.rb in mina-ext-0.1.1

- old
+ new

@@ -18,10 +18,13 @@ set :instance, instance set :prefix, prefix deploy do block.call(prefix, instance) end + invoke :__stop + queue 'sleep 10' + invoke :__start invoke 'deploy:cleanup' end end end @@ -32,9 +35,12 @@ set :instance, instance set :prefix, prefix deploy do block.call(prefix, instance) end + invoke :__stop + queue 'sleep 10' + invoke :__start invoke 'deploy:cleanup' end end end