Hi there.
I am working on a client project and we are utilising environments for development sandboxes. We have three environments - (primary, dev-sandbox and uat-sandbox for client testing). We are using Gatsby (using gatsby-source-datocms plugin for Gatsby) and have four build triggers to Netlify sites(dev, uat, preview and production).
I understand that deployments are based off branches so I might be misunderstanding this conceptually, but I am wondering how I can tie my environments the build triggers. eg a dev build trigger will use the content on dev-sandbox, and so on.
I think this requires me to pull the environment details from Dato into Gatsby but not sure. Any advice would be much appreciated
Thanks