Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
deploy: restart damsolrizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mcritchlow authored and hweng committed Jul 9, 2019
1 parent 2bcbc9b commit 14c76be
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@
end
end

desc 'Restart damsolrizer'
task :restart_damsolrizer do
on roles(:app), in: :sequence do
execute "sh $HOME/bin/damsolrizer.sh"
end
end

desc "Write the current version to public/version.txt"
task :write_version do
on roles(:app), in: :sequence do
Expand All @@ -58,5 +65,6 @@
after :finishing, 'deploy:assets:precompile'
after :finishing, 'deploy:migrate'
after :finishing, 'deploy:restart'
after :finishing, 'deploy:restart_damsolrizer'

end

0 comments on commit 14c76be

Please sign in to comment.