You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I face a small issue when trying to create preview links for my app when open a PR. Read more in the Discord.
In short, despite I ran this in Github Actions:
railway environment myproject-pr-$PR_NUMBER
Then the following one still get ONLY production's variables if I use the production RAILWAY_TOKEN:
railway variables -s server --json
Please note that on my local machine, after activating the new environment, the railway variables returns CORRECT values of that environment. (I think it makes sense, because I logged in using my credentials locally, not environment's token.)
I would love to have a way so that railway variables can return correct values from activated environment on Github Actions as well.
The text was updated successfully, but these errors were encountered:
Thanks @coffee-cup, currently the API token (generated from user profile) can be used only for GraphQL. It would be great if it could work for all environments as well.
Currently I face a small issue when trying to create preview links for my app when open a PR. Read more in the Discord.
In short, despite I ran this in Github Actions:
Then the following one still get ONLY
production
's variables if I use theproduction
RAILWAY_TOKEN:Please note that on my local machine, after activating the new environment, the
railway variables
returns CORRECT values of that environment. (I think it makes sense, because I logged in using my credentials locally, not environment's token.)I would love to have a way so that
railway variables
can return correct values from activated environment on Github Actions as well.The text was updated successfully, but these errors were encountered: