Skip to content

Instantly share code, notes, and snippets.

@gigo6000
Created June 29, 2011 03:18
Show Gist options
  • Save gigo6000/1052938 to your computer and use it in GitHub Desktop.
Save gigo6000/1052938 to your computer and use it in GitHub Desktop.
Capifony task to send the email
namespace :deploy do
desc "Send notification email"
task :sendemail do
run("cd #{deploy_to}/current && php app/console deploy:sendemail emailfrom@server.com emailto@server.com \"Deploy Complete.\" ")
end
end
after 'deploy:restart', 'deploy:sendemail'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment