[GH-ISSUE #638] GitHub Actions部署失败 #239

Closed
opened 2026-02-26 20:36:17 +03:00 by kerem · 3 comments
Owner

Originally created by @didingqd on GitHub (Apr 23, 2025).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/638

按照文档部署,因为前端部署成功了,所以可以排除时关于CF变量的错误。

image.png
image.png
使用的BACKEND_TOML以下内容:

name = "cloudflare_temp_email"
main = "src/worker.ts"
compatibility_date = "2025-04-01"
compatibility_flags = [ "nodejs_compat" ]

# 如果你想使用自定义域名,你需要添加 routes 配置
 routes = [
  { pattern = "email-backe*", custom_domain = true },
 ]

[vars]

PREFIX = "tmp"
DOMAINS = ["ln.clo*" , "lp.cl*d*","ok.cl*"]
DEFAULT_DOMAINS = ["o*"]
ENABLE_AUTO_REPLY = true
JWT_SECRET = "0ad5*cbf4"
ENABLE_WEBHOOK = true
FRONTEND_URL = https://ema*
ADMIN_PASSWORDS = ["AS*"]
ENABLE_USER_CREATE_EMAIL = false
ENABLE_USER_DELETE_EMAIL = false
DISABLE_ANONYMOUS_USER_CREATE_EMAIL = true
PASSWORDS = "c*"

[[d1_databases]]
binding = "DB"
database_name = "tem*ail" # D1 数据库名称
database_id = "a0*1d" # D1 数据库 ID


不知道为啥部署失败了

Originally created by @didingqd on GitHub (Apr 23, 2025). Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/638 按照文档部署,因为前端部署成功了,所以可以排除时关于CF变量的错误。 ![image.png](https://img.cccd.cloudns.be/file/blog/WQjoSZvX.png) ![image.png](https://img.cccd.cloudns.be/file/blog/OmTmZ3cz.png) 使用的`BACKEND_TOML`以下内容: ``` name = "cloudflare_temp_email" main = "src/worker.ts" compatibility_date = "2025-04-01" compatibility_flags = [ "nodejs_compat" ] # 如果你想使用自定义域名,你需要添加 routes 配置 routes = [ { pattern = "email-backe*", custom_domain = true }, ] [vars] PREFIX = "tmp" DOMAINS = ["ln.clo*" , "lp.cl*d*","ok.cl*"] DEFAULT_DOMAINS = ["o*"] ENABLE_AUTO_REPLY = true JWT_SECRET = "0ad5*cbf4" ENABLE_WEBHOOK = true FRONTEND_URL = https://ema* ADMIN_PASSWORDS = ["AS*"] ENABLE_USER_CREATE_EMAIL = false ENABLE_USER_DELETE_EMAIL = false DISABLE_ANONYMOUS_USER_CREATE_EMAIL = true PASSWORDS = "c*" [[d1_databases]] binding = "DB" database_name = "tem*ail" # D1 数据库名称 database_id = "a0*1d" # D1 数据库 ID ``` 不知道为啥部署失败了
kerem closed this issue 2026-02-26 20:36:17 +03:00
Author
Owner

@yshuai commented on GitHub (Apr 23, 2025):

我也部署失败了,和你的报错位置一样。

<!-- gh-comment-id:2824827311 --> @yshuai commented on GitHub (Apr 23, 2025): 我也部署失败了,和你的报错位置一样。
Author
Owner

@dreamhunter2333 commented on GitHub (Apr 23, 2025):

感谢反馈,请参考文档 配置下 DEBUG_MODEtrue 查看详细的日志,默认隐藏了部署日志防止泄露信息

https://temp-mail-docs.awsl.uk/zh/guide/actions/github-action.html

<!-- gh-comment-id:2825089581 --> @dreamhunter2333 commented on GitHub (Apr 23, 2025): 感谢反馈,请参考文档 配置下 `DEBUG_MODE` 为 `true` 查看详细的日志,默认隐藏了部署日志防止泄露信息 https://temp-mail-docs.awsl.uk/zh/guide/actions/github-action.html
Author
Owner

@didingqd commented on GitHub (Apr 24, 2025):

感谢反馈,请参考文档 配置下 为 查看详细的日志,默认隐藏了部署日志防止泄露信息DEBUG_MODE``true

https://temp-mail-docs.awsl.uk/zh/guide/actions/github-action.html

好的,已解决,谢谢你!终于可以自动更新了😁😁

<!-- gh-comment-id:2825955428 --> @didingqd commented on GitHub (Apr 24, 2025): > 感谢反馈,请参考文档 配置下 为 查看详细的日志,默认隐藏了部署日志防止泄露信息`DEBUG_MODE``true` > > https://temp-mail-docs.awsl.uk/zh/guide/actions/github-action.html 好的,已解决,谢谢你!终于可以自动更新了😁😁
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#239
No description provided.