We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Here's a snippet for enabling/disabling maintenance mode
task :before_deploy do Rake::Task['heroku:maintenance_on'].invoke end task :after_deploy do Rake::Task['heroku:maintenance_off'].invoke end