R
Railway

✋|help

Prod + Dev (PR) Environments

Mmunch4/4/2023
Hi there, I would like to understand how to achieve the following workflow. Production Env: Only Deploys main branch. Development Env: Only Deploys PR branches. I can see https://docs.railway.app/deploy/config-as-code but those docs are sparse. Help would be much appreciated here. Project ID: 25c13071-6077-466e-bf9b-2e08a6d0c02f
Railway Docs
Config as Code | Railway Docs
Documentation for Railway
PPercy4/4/2023
Project ID: 25c13071-6077-466e-bf9b-2e08a6d0c02f
PPercy4/4/2023
It seems that the best approach is to consolidate the back and front end PRs so that functionality can be properly tested, as far as is known. Alternatively, a monorepo could be used.
⚠️ experimental feature
Mmunch4/4/2023
From the dash, i cant seem to control the where ephemeral PR environments grab their env vars from?

Looking for more? Join the community!