R
Railway3mo 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
Percy3mo ago
Project ID: N/A
dubs
dubs3mo ago
N/A
Adam
Adam3mo ago
Unfortunately no, but you can remove one of the deployments if you’re annoyed at it building twice
dubs
dubs3mo ago
So aborting the build after changing environment variables would work? (And then pushing GitHub changes)
Adam
Adam3mo ago
Yes
dubs
dubs3mo ago
Ok, thanks
Brody
Brody3mo 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
dubs3mo ago
oo thanks
Brody
Brody3mo 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
dubs3mo ago
Yea, also, is there a way to have one service depend on another service being healthy like you can with docker-compose?
Brody
Brody3mo 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
More Posts