Ā© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
CD
Cloudflare Developers
ā¢
6mo 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
85,042
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Similar Threads
Was this page helpful?
Yes
No
Recent Announcements
Similar Threads
How to deploy Next.js 15 on Workers with GitHub
CD
Cloudflare Developers / workers-and-pages-help
3w ago
How to deploy workers in a monorepo using github actions?
CD
Cloudflare Developers / workers-and-pages-help
17mo ago
Github Auth Workers Project
CD
Cloudflare Developers / workers-and-pages-help
2mo ago
Github and Workers App
CD
Cloudflare Developers / workers-and-pages-help
6mo ago