#What are best practices with a second environment?

2 messages · Page 1 of 1 (latest)

gleaming lava
#

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?

solemn currentBOT
#

Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.