If for some reason you want to run more than one task after deploying with capistrano. Create a task that invokes all the tasks you want:
# capistrano/tasks/after_deploy_hooks.rake
namespace :deploy do
desc 'Deploy hooks'
task :after_deploy_tasks do
on roles(:app) do