We'd like to use SST + Seed to generate QA envs pe...
# sst
d
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?
f
Hey @Dennis Dang, you can add the url to the stack output, then add a Post-Deploy phase on Seed that fetches the stack output value and pipe it to the vercel cli
Let me know if that works for you.