I have a current application which is located at “cp-com-3.netlify.com” its a Gatsby/Wordpress headless app. The wordpress site is hosted at another party.
We want to localize this application for another geographic region, to do that we are standing up another headless Wordpress site, and creating a new “site” inside of netlify. Inside of our sites ENV file we are trying to tell each environment where to get its content.
Because ideally we have one codebase to support both these sites, I want to know is there a way inside of the TOML to distinguish which netlify “SITE_ID” the TOML is inside of? OR can I set an environment variable at the site level and then inside the TOML use that to change the source of the content.
Is there a better/smarter way of doing this?