heroku - how to enable and disable maintenance mode in procfile during build

Viewed 120

I am using a Procfile similar to the following:

# Procfile
release: python manage.py migrate --noinput

before building I would like to set my heroku app in maintanence mode and after deploy I would like to disable maintenance mode.

documentation does not mention how to do this from Procfile: https://devcenter.heroku.com/articles/maintenance-mode

any ideas how this can be done?

0 Answers
Related