Railway CLI token
shubhankartrivedi
HOBBYOP

a year ago

So this token will only work on the selected Environment or any on the project?
This is project level token btw.

8 Replies

shubhankartrivedi
HOBBYOP

a year ago

N/A


a year ago

please see this docs section -


shubhankartrivedi
HOBBYOP

a year ago

@Brody
I just wanna know if I can do
railway environment development
on CI/CD pipeline when I got a Project token ENV.


shubhankartrivedi
HOBBYOP

a year ago

i was confused if the environment selection here will just allow that environment only


shubhankartrivedi
HOBBYOP

a year ago

and also, is this cmd valid?:

railway up --service ${RAILWAY_SERVICE_ID} --environment development -d
Will this push to the mentioned environment?


a year ago

when using a project token you can not change the environment via the CLI.

you would need to use an account token instead.


a year ago

not sure, check the help printout for that command


shubhankartrivedi
HOBBYOP

a year ago

okay


Loading...