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 about 1 year ago


vnguyen
HOBBYOP

a year 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 about 1 year ago


echohack
EMPLOYEE

a year ago

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


Status changed to Awaiting User Response Railway about 1 year ago


Status changed to Solved echohack about 1 year ago


vnguyen
HOBBYOP

a year 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 about 1 year ago


Status changed to Solved vnguyen about 1 year ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...