R
Railway•3mo ago
Budi

Help with Github automatic deployments

I've configured Github Automatic deployments per the docs. My production service is linked to my /main branch in the repo. I further have PR environments enabled and give them the env vars of main. 1. New Railway environments are created successfully whenever we create a new PR, however they don't appear to close after we merge and close the PRs. 2. Also, the environments don't start with any services and therefore don't automatically deploy anything. The only workaround I've found is to manually enter the PR env in the Railway GUI and to sync the services with the ones running in the production environment. 3. The Railway bot comments on our PRs but always says the environment's deleted. See screenshot. How can I fix these issues? Thanks.
Solution:
I think the first and second issues are now resolved and a consequence of us not having enabled a base environment prior.
Jump to solution
7 Replies
Percy
Percy•3mo ago
Project ID: 95e92fe0-66e9-4eed-86df-2cdc05218e79
Budi
BudiOP•3mo ago
95e92fe0-66e9-4eed-86df-2cdc05218e79
Budi
BudiOP•3mo ago
No description
Solution
Budi
Budi•3mo ago
I think the first and second issues are now resolved and a consequence of us not having enabled a base environment prior.
Brody
Brody•3mo ago
Hey sorry this got a bit lost, it's the first I've heard of #3 happening, are you able to provide reproducible steps? unfortunately we wouldn't be able to look into these kinds of one-off reports without reproducible steps.
Budi
BudiOP•3mo ago
I think the third issue has also been resolved by setting a base environment. So this issue can be closed 😊
Brody
Brody•3mo ago
ah perfect, glad you were able to solve!
Want results from more Discord servers?
Add your server