See also this thread for some tips about how to determine build context from within a Netlify function: Netlify Functions and Env Variables from netlify.toml
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Environment/context availability at runtime | 4 | 912 | July 30, 2019 | |
Nexts api context environment variable | 17 | 895 | September 7, 2021 | |
Toml environment variable available to functions | 5 | 4043 | October 27, 2021 | |
(Netlify Newbie) Current State of Forms, Functions, Env Contexts, & Dev - April 2020 | 5 | 1348 | December 30, 2020 | |
Environment variable per branch for lambda functions | 12 | 3371 | November 17, 2022 |