Преглед изворни кода

Restart unicorn when deploying

master
Dylan Baker пре 4 година
родитељ
комит
e023876cef
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1
    0
      Rakefile

+ 1
- 0
Rakefile Прегледај датотеку

@@ -29,4 +29,5 @@ task 'deploy' do
29 29
   puts `rsync -rv ./Rakefile #{username}@#{hostname}:/var/www/vlv-search/`
30 30
   puts `rsync -rv ./Gemfile #{username}@#{hostname}:/var/www/vlv-search/`
31 31
   puts `rsync -rv ./Gemfile.lock #{username}@#{hostname}:/var/www/vlv-search/`
32
+  puts `ssh #{username}@#{hostname} '~/restart-unicorn'`
32 33
 end

Loading…
Откажи
Сачувај