Workers GitHub deploy clears runtime variables
Hi guys š Iām running a Hono API on Cloudflare Workers, deployed with the GitHub integration for automatic deployments.
Each time I merge a PR, all my runtime variables get wiped, which breaks the API for users.
I already have
keep_vars = true in my wrangler.toml (this used to work fine before), but recently deployments started clearing the vars again.
Has anyone else run into this? Any ideas on how to resolve it?
I can share the repo if that helps.
Link to the page i read: https://developers.cloudflare.com/workers/wrangler/configuration/#source-of-truthCloudflare Docs
Configuration
Use a configuration file to customize the development and deployment setup for your Worker project and other Developer Platform products.
2 Replies