소스 검색

Run build script on deploy

master
Dylan Baker 4 년 전
부모
커밋
60d2a86b9a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      Rakefile

+ 1
- 0
Rakefile 파일 보기

@@ -29,5 +29,6 @@ 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} 'cd /var/www/vlv-search; rake build'`
32 33
   puts `ssh #{username}@#{hostname} '~/restart-unicorn'`
33 34
 end

Loading…
취소
저장