Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Function env variables #1222

Unanswered
kurpav asked this question in Q&A
Feb 17, 2022 · 1 comments · 1 reply
Discussion options

How to pass env variables to functions runtime without .env file?

You must be logged in to vote

Replies: 1 comment 1 reply

Comment options

If you set them in the site UI, or via netlify env:set then they will be available to the function

You must be logged in to vote
1 reply
Comment options

Can I set different variables for different contexts?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants

AltStyle によって変換されたページ (->オリジナル) /