When working on websites, I’ve found it to be good practice to create a staging environment on a different branch.
The problem is that, as far as I can tell, the .host_url attribute only allows one URL, so if my site is something.something, I cannot also deploy a dev.something.something staging site from the same codebase, without some runtime modifications to zine.ziggy. Is this a correct assessment?
Here’s my current solution if anyone stumbles into this in the meantime:
Currently I’m just duplicating the zine.ziggy to staging.zine.ziggy, substituting the url, then adding the following step to my (staging) deployment CI.