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:Jump to solution
I think the first and second issues are now resolved and a consequence of us not having enabled a base environment prior.
7 Replies
Project ID:
95e92fe0-66e9-4eed-86df-2cdc05218e79
95e92fe0-66e9-4eed-86df-2cdc05218e79
Solution
I think the first and second issues are now resolved and a consequence of us not having enabled a base environment prior.
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.
I think the third issue has also been resolved by setting a base environment.
So this issue can be closed 😊
ah perfect, glad you were able to solve!