Is there a way to set an app to “maintenance mode”, like one can in Heroku?
For example, define a simple HTML page that can be displayed while maintenance tasks are performed which would degrade the performance of, or even break, a site.
As part of some deploys I need to toggle a switch on another service. Switching before the deploy breaks the “old” site. Until the switch is done, the new deploy will fail. Unfortunately it isn’t something that can be automated, and I don’t think any of the current deploy strategies fit the circumstance.