What are best practices with a second environment?
kevmok
PROOP

10 months ago

Hi there,

I am bit new when it comes to having multiple environments in the cloud, but I want to have a Dev environment in railway, but my question now is around this use case:

In our github repo, all PRs are against main we don't have a dev branch. Now I think I can setup the development environment to have it deploy my services with any changes to the main branch but when it comes to PROD, that's not ideal. I read that I can use github actions and the railway CLI to deploy, but the cli requires me to enter a svc_id but I have a monorepo so I really like using y'alls watch paths property to just deploy whatever has changed.
So my thoughts are either I just handle everything through github actions or can railway do something about it?

0 Replies

Loading...