How to use environment variables to define the API ‘input’ according to the environment? #236
Replies: 1 comment
-
|
Hey @vitordangelo, can you share an example of how you tried to do this in your |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried using the ‘Environment Variables’ guide in the documentation to get values from environment variables to set the input for the apis field in the ‘zudoku.config.tsx’ file, but I was unsuccessful. Whenever I try to access the environment variable, the value is undefined.
Since the API URL is defined in the .yaml file under the field:
I have different URLs for different environments. I would like to keep it dynamic in my CICD process.
Beta Was this translation helpful? Give feedback.
All reactions