We'd like to use SST + Seed to generate QA envs per PR + integrate the generated endpoint into our frontend, a Nextjs app. Has anyone figured out a way to automatically connect the two deployments together?
Brainstorming here. Ideally I can feed the generated api endpoint into the Vercel envs. Huh, now that I'm typing this out, perhaps it's possible to use the Vercel CLI to upload the env variable within the pipeline. Some key steps here are required:
1. how can we run the vercel cli as part of SEED's build pipeline?
2. can we actually get the endpoint and pipe it along?