Deployment
I have a service linked to a GitHub repository that deploys when it passes GitHub workflow checks, and I was wondering if there was a way to deploy changes made in the web ui (i.e. environment variables) and changes from GitHub at the same time? Because if some changes require new environment variables, it's a little annoying to deploy that and then push GitHub changes which deploys again
11 Replies
Project ID:
N/A
N/A
Unfortunately no, but you can remove one of the deployments if you’re annoyed at it building twice
So aborting the build after changing environment variables would work? (And then pushing GitHub changes)
Yes
Ok, thanks
Actually there is, you make the changes to your variables and either press the
alt
key while clicking the Deploy
button or press the full key combination shift + alt + enter
Both these will save the changes without causing a deployment, then when you push code to your repo, the changes you made will now take effect on the new deployment.
tagging @dubs for visibilityoo thanks
as far as i know, i was the only one the team told about this feature, since i was the one who wanted/asked for it. and im glad im not the only one who wanted this kind of workflow
Yea, also, is there a way to have one service depend on another service being healthy like you can with docker-compose?
there isnt, and thats asked a lot, share your feedback here! https://help.railway.app/feedback/service-dependencies-rollouts-6b418f05