24 Replies
Project ID:
N/A
How do I specify the service to be deployed?
have you tried running
railway up --help
?yeah.
does the default command deploy all the services?
since I have a docker image
no, please see what the help flag prints
it says deploys project from CWD.
i dont have a project in CWD
you do when deploying from a github action
nope, if you take a look at my action, there is no checkout step.
does not make sense to checkout the repo since i dont have any configuration in it at all. I want the deploy to happen on railway.
ah just thought it wasnt complete
i have a docker image and pg deployed on railway so i should be able to trigger deployments from CI, right?
i feel like im missing some context here, what do you hope to achieve running railway up without a project
the docker image is set up to use
:latest
on Railway. So once the docker image is published (docker-release
job in my workflow file), I want to deploy the latest tag on railway too.okay cool, where does railway up come into play here?
Should i be using
railway redeploy
?i think you have a misunderstanding of what railway up does?
possibly. i used the blog on gh actions.
that was for deploying a github repo
yes
makes sense.
If i do not specify
--service
to redeploy, would it re-deploy the pg instance as well?not sure, think it would choose the most recently modified service, or it would tell you that you have not selected a service
why does it want me to be authenticated if i already provided a token?
what kind of token is that
got it from here
try an account api token?