Railway CLI token
So this token will only work on the selected Environment or any on the project?
This is project level token btw.
6 Replies
Project ID:
N/A
N/A
Solution
please see this docs section - https://docs.railway.app/guides/cli#tokens
@Brody
I just wanna know if I can do
railway environment development
on CI/CD pipeline when I got a Project token ENV.
i was confused if the environment selection here will just allow that environment only
and also, is this cmd valid?:
railway up --service ${RAILWAY_SERVICE_ID} --environment development -d
Will this push to the mentioned environment?when using a project token you can not change the environment via the CLI.
you would need to use an account token instead.
not sure, check the help printout for that command
okay