Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Workers GitHub deploy clears runtime variables - Cloudflare Developers
CD
Cloudflare Developers
ā¢
8mo ago
ā¢
2 replies
Tee
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
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-truth
Cloudflare Docs
Configuration
Use a configuration file to customize the development and deployment setup for your Worker project and other Developer Platform products
.
Cloudflare Developers
Join
Welcome to the official Cloudflare Developers server. Here you can ask for help and stay updated with the latest news
86,942
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
Python Workers runtime exception
CD
Cloudflare Developers / workers-and-pages-help
2w ago
How to deploy Next.js 15 on Workers with GitHub
CD
Cloudflare Developers / workers-and-pages-help
3mo ago
How to deploy workers in a monorepo using github actions?
CD
Cloudflare Developers / workers-and-pages-help
2y ago
Deploy with Workers - deploy_to_cf_workers e2e.yml skipped
CD
Cloudflare Developers / workers-and-pages-help
2y ago