Fixed failing tests and added deployment complete email
This commit is contained in:
@@ -148,6 +148,11 @@ class UserMailer < ActionMailer::Base
|
||||
mail to: 'goodgodwin@hotmail.com', subject: clean_subject("Details for: \"#{subject}\"")
|
||||
end
|
||||
|
||||
def server_startup(environment)
|
||||
@environment = environment
|
||||
mail to: 'goodgodwin@hotmail.com', subject: clean_subject("Deployment to #{environment} complete")
|
||||
end
|
||||
|
||||
private
|
||||
def set_host(*args)
|
||||
if Rails.env.production?
|
||||
|
||||
Reference in New Issue
Block a user