Skip to content

Instantly share code, notes, and snippets.

View luntzel's full-sized avatar
🏠
Working from home

Mark Luntzel luntzel

🏠
Working from home
  • Los Angeles, CA
View GitHub Profile
@luntzel
luntzel / deploy.rb
Created May 15, 2020 19:22 — forked from nosolopau/deploy.rb
Send email notifications after deploy (with Capistrano and Rails 4). Capistrano variables reference: http://theadmin.org/articles/capistrano-variables/
# 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"