mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-26 06:15:52 +03:00
[GH-ISSUE #758] [BUG] Github Action 部署 worker 失败 #284
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cloudflare_temp_email#284
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @catfishlty on GitHub (Nov 4, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/758
复现步骤
BACKEND_TOML,CLOUDFLARE_ACCOUNT_ID,CLOUDFLARE_API_TOKEN,FRONTEND_ENV,FRONTEND_NAME,TG_FRONTEND_NAMEDeploy BackendDeploy Backend for main这步报错,执行错误截取部分log
预期行为
成功部署
部署方式
浏览器环境
@catfishlty commented on GitHub (Nov 4, 2025):
初步判断应该是cloudflare api token权限的问题
@dreamhunter2333 commented on GitHub (Nov 5, 2025):
创建时选择 worker 的模板,给全部权限
@catfishlty commented on GitHub (Nov 5, 2025):
使用
Deploy Frontend或者Deploy Frontend with page function部署的时候会有下面的报错核心问题:
Deploy Frontend with page function这一个workflow依赖多出来的PAGE_TOML,在 #355 中新增加的功能,但是文档中没有体现更新:1,2问题解决,然后出现新问题,目前pages模块的部署会部署到preview环境而并非是production环境,另外部署前端 frontend和frontend_page_func是都需要部署的还是二选一?如果需要nopwa支持(Cloudflare Zero Trust支持),还可以利用action进行部署吗?
@dreamhunter2333 commented on GitHub (Nov 7, 2025):
需要指定 production 分支 为 production
@dreamhunter2333 commented on GitHub (Nov 7, 2025):
pages 代理 或者 直接部署 worker with assset 就是为了 Cloudflare Zero Trust
@dreamhunter2333 commented on GitHub (Nov 7, 2025):
前端 frontend pages worker(带前端) 三选一即可
@catfishlty commented on GitHub (Nov 7, 2025):
这一步处理完就可以正常部署了,感谢回复。
还是建议文档里面加一下
PAGE_TOML的描述。