Whenever a preview environment for a PR is created, Gatsby Cloud generates a preview url. It will be nice to receive this url value as build variable, like
GATSBY_PREVIEW_URL
This helps in many situations.
For example:
Our team focuses on UI testing but we feel if we have the preview URL as a build variable we can speed up the process of generating sitemaps and test the deploy links for each and every PR.