Cloudflare DevelopersCD
Cloudflare Developersβ€’3mo agoβ€’
5 replies
LukeZ

how can I use the env vars in .env when deploying a worker via wrangler?

I have done it before, I ust don't know how πŸ˜‚

I have an .env file on my dev environment and used wrangler deploy - it shipped the env variables in the file as well. However, my current project doesn't do this somehow. Any idea why?
Was this page helpful?