Site automatically exits read-only mode when enabled by 'discourse enable_readonly'

Thanks Jay. I suspect I’m taking an XY approach to the problem. I’ll check out the Post Deployment Migration. Thanks for that.

I guess the other option might be to activate RO via an API call.