I have been testing environment variables on deploy previews at the moment.
I have a
[context.deploy-preview.environment] block in my
netlify.toml file with some variables defined. I unfortunately am not able to access those variables in the functions via the process.env (or dotenv package). None of the variables in the
toml file are available, but the variables defined via the netlify UI are there.
Is this an intended outcome or have i been making a mistake somewhere?