Hi,
We have a netlify site running on this domain:
app.staging.ramify.fr
We also have a backend hosted on heroku.
For every new pull request on github, we have a feature that deploy a preview backend and make it accessible through an endpoint like app-preview-{{PR-number}}.ramify.fr
We would like to use those endpoints for our deploy-previews on netlify.
For now, our backend endpoint is defined as an environment variable, and we would like it to change for every deploy-preview to something like: app-preview-{{PR-number}}.ramify.fr
I couldn’t find a way to have a dynamic variable that depend on the pull request name / number.
What could be a way to do this?
Any help would be appreciated.