Sfoglia il codice sorgente

Restart unicorn when deploying

master
Dylan Baker 4 anni fa
parent
commit
e023876cef
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1
    0
      Rakefile

+ 1
- 0
Rakefile Vedi File

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

Loading…
Annulla
Salva