R
Railway2mo ago
Pharoh

Railway CLI token

So this token will only work on the selected Environment or any on the project? This is project level token btw.
No description
Solution:
please see this docs section - https://docs.railway.app/guides/cli#tokens
Jump to solution
6 Replies
Percy
Percy2mo ago
Project ID: N/A
Pharoh
PharohOP2mo ago
N/A
Solution
Brody
Brody2mo ago
please see this docs section - https://docs.railway.app/guides/cli#tokens
Pharoh
PharohOP2mo ago
@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?
Brody
Brody2mo ago
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
Pharoh
PharohOP2mo ago
okay
Want results from more Discord servers?
Add your server