Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Mark Luntzel luntzel

🏠
Working from home
  • Los Angeles, CA
View GitHub Profile
@luntzel
luntzel / deploy.rb
Created May 15, 2020 — forked from nosolopau/deploy.rb
Send email notifications after deploy (with Capistrano and Rails 4). Capistrano variables reference: http://theadmin.org/articles/capistrano-variables/
View deploy.rb
# Add the following lines at the end of config/deploy.rb
Dir["config/deploy/extras/*.rb"].each { |file| load file }
set :notify_emails, ["mail@example.com"]
after "deploy", "deploy:notify"
You can’t perform that action at this time.