Skip to content

Commit

Permalink
capistrano task to run trend updating script, triggered after deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenwilkin committed Sep 1, 2009
1 parent 234d1b5 commit e642ab8
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Capfile
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ namespace :deploy do
run "touch #{current_path}/tmp/restart.txt" run "touch #{current_path}/tmp/restart.txt"
end end
end end

# ensure data is available for the app after deployment
desc "Get Trend Data"
task :get_trends do
run "#{current_path}/lib/get_trends.rb"
end

after "deploy", "get_trends"

0 comments on commit e642ab8

Please sign in to comment.