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
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like to see
A function that a user can define called getEnvVars in the config. This function would be run on deploy (with process.env.NODE_ENV === 'production' and dev. Whatever the function returns is used as env vars for that deployment
Example function:
asyncfunctiongetEnvVars(){if(process.env.NODE_ENV==='development'){returnprocess.env// i use direnv to load env vars, this would expose those to trigger}constvars=awaitinfisicalSDK.getEnvVars()// fake function, can be any third party servicereturnvars}
Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like to see
A function that a user can define called
getEnvVars
in the config. This function would be run ondeploy
(withprocess.env.NODE_ENV === 'production'
anddev
. Whatever the function returns is used as env vars for that deploymentExample function:
Describe alternate solutions
N/A
Additional information
https://discord.com/channels/1066956501299777596/1222172315152945283/1234572031803265166
The text was updated successfully, but these errors were encountered: