Passing preview env vars from Railway to Vercel using Vercel integration

Referencing this previous thread: https://discord.com/channels/713503345364697088/1090909317865156608 Hi, I'm trying to get variables from my Railway previews to pass to my Vercel previews to get full preview environments working. I need to pass Railway deployment URLs to Vercel so my preview deployments on Vercel use the corresponding Railway preview environment. I enabled the Vercel integration selecting the base environment that my preview envs inherit from in Railway. I expected that the env vars from each Railway preview would sync to Vercel and not just the single environment I selected in the dropdown. We have many preview envs as developers open PRs so it doesn't make sense to manually switch the "Preview environment" option each time. I have env vars in each preview that change as they use RAILWAY_SERVICE_PLATFORM_API_URL. I'd appreciate any help to achieve this!
No description
2 Replies
Percy
Percy9mo ago
Project ID: d80407b4-a520-4fc9-acec-d8bf622dc449
tamer5795
tamer57959mo ago
d80407b4-a520-4fc9-acec-d8bf622dc449
Want results from more Discord servers?
Add your server