R
Railway8mo ago
dubs

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
Percy
Percy8mo ago
Project ID: N/A
dubs
dubsOP8mo ago
N/A
Adam
Adam8mo ago
Unfortunately no, but you can remove one of the deployments if you’re annoyed at it building twice
dubs
dubsOP8mo ago
So aborting the build after changing environment variables would work? (And then pushing GitHub changes)
Adam
Adam8mo ago
Yes
dubs
dubsOP8mo ago
Ok, thanks
Brody
Brody8mo ago
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 visibility
dubs
dubsOP8mo ago
oo thanks
Brody
Brody8mo ago
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
dubs
dubsOP8mo ago
Yea, also, is there a way to have one service depend on another service being healthy like you can with docker-compose?
Brody
Brody8mo ago
there isnt, and thats asked a lot, share your feedback here! https://help.railway.app/feedback/service-dependencies-rollouts-6b418f05
Want results from more Discord servers?
Add your server