In the docs,
Pull Request Previews | Render it says: “Make sure to change environment variables on your PR instance if you want it to use a staging or test databas”
Can I do this automatically with some config files or hooks? I want to have two environment groups, one for production and one for development, all the PR previews should use the dev group.
Our workflow is pretty simple
- Developer works on a feature on a branch
- When he is happy he creates a Pull Request
- Render should spin up the pull request BUT use a dev database.
- When everybody is happy we merge it main branch.