Managing envs in local supabase development
I am trying to understand how the envs work for when I am using supabase locally for development and then when I push my code for the prod.
If I push the functions with
Currently I am investigating something where my app is broken after I pushed the changes when I was developing it locally and I am seeing :
After seeing the secrets in the edge functions, I am seeing that some of the secrets got updated as well.
So I am just wondering how that works.
If I push the functions with
supabase functions deploy do the .env secrets get updated as well? How does that work?Currently I am investigating something where my app is broken after I pushed the changes when I was developing it locally and I am seeing :
"hint": "Double check your Supabase anon or service_role API key."After seeing the secrets in the edge functions, I am seeing that some of the secrets got updated as well.
So I am just wondering how that works.