Is there a Preview deployment concept
vnguyen
HOBBYOP

a year ago

For those coming from Vercel or other CI systems, how would you setup a deployment that is triggered by a new branch? It seems to me there's a strict 1-to-1 relationship between a known branch and a deployment. Is Railway a only a deployment platform?

Similar, unresolved question:

https://station.railway.com/questions/setup-all-branches-other-than-main-to-de-3ac7369d

Solved

4 Replies

We have the option within the Project settings to enable PR envs: https://docs.railway.com/guides/environments#enable-pr-environments

This way you can have a new depploy be triggered on a new PR


Status changed to Awaiting User Response Railway 11 months ago


vnguyen
HOBBYOP

10 months ago

Thanks! working now. It'd be great to highlight such an important feature for new new users, especially those who are migrating from that popular platform.


Status changed to Awaiting Railway Response Railway 11 months ago


echohack
EMPLOYEE

10 months ago

Thanks for the feedback. Glad it's working for you!


Status changed to Awaiting User Response Railway 11 months ago


Status changed to Solved echohack 11 months ago


vnguyen
HOBBYOP

10 months ago

Sorry to resurrect this thread again. Does PR preview work when someone submits a PR from a fork? A contributor's PR (from a fork) doesn't seem to trigger a deployment.

.


Status changed to Awaiting Railway Response Railway 10 months ago


Status changed to Solved vnguyen 10 months ago


Loading...