mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 05:45:55 +03:00
[GH-ISSUE #786] action error: Missing entry-point to Worker script or to assets directory #295
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#295
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 @chentanwan on GitHub (Dec 14, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/786
配置了worker/wrangler.toml 中必要的配置,但是仍然报错,已检查cf的token和id都是正确的
~期待回复,谢谢
@dreamhunter2333 commented on GitHub (Dec 14, 2025):
感谢反馈,是否配置了 [assets] 呢,这个是前后端不分离部署,需要build前端,然后再部署worker
增加 USE_WORKER_ASSETS ,参考 https://temp-mail-docs.awsl.uk/zh/guide/actions/github-action.html
@chentanwan commented on GitHub (Dec 16, 2025):
感谢回复,根据你的提示,我添加了USE_WORKER_ASSETS到了secrets,值为true(部署带有前端资源的worker)。
重新运行action依旧出错,日志:
name = "worker-name"
compatibility_date = "2025-12-16"
main = "src/index.ts"
name = "worker-name"
compatibility_date = "2025-12-16"
[assets]
directory = "./dist"
@dreamhunter2333 commented on GitHub (Dec 27, 2025):
这部分在 toml 需要写完整