mirror of
https://github.com/dreamhunter2333/cloudflare_temp_email.git
synced 2026-04-25 22:05:51 +03:00
[GH-ISSUE #313] 通过Github Action部署后,cf里始终是preview分支 #98
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#98
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 @battlewolf9527 on GitHub (Jun 14, 2024).
Original GitHub issue: https://github.com/dreamhunter2333/cloudflare_temp_email/issues/313
通过Github Action部署后,cf里始终是preview分支
@dreamhunter2333 commented on GitHub (Jun 14, 2024):
创建pages 时需要指定生产分支,请指定为 production
@antergone commented on GitHub (Jun 14, 2024):
如果是上传zip包是可以指定的,github action我也没找到指定的地方。我是通过API的方式更新的。
文档:https://developers.cloudflare.com/pages/configuration/branch-build-controls/#production-branch-control
如果方案没错的话, @dreamhunter2333 看看是否可以新增到Workflow里
@dreamhunter2333 commented on GitHub (Jun 14, 2024):
OK 我有空把这个作为一个参数
@battlewolf9527 commented on GitHub (Jun 15, 2024):
嗯,我没有上传代码,只是创建了pages,然后就用github action部署了
@dreamhunter2333 commented on GitHub (Jun 15, 2024):
应该是创建的时候指定的生产分支不是production
@dreamhunter2333 commented on GitHub (Jun 28, 2024):
已增加
FRONTEND_BRANCH,参考https://github.com/dreamhunter2333/cloudflare_temp_email/blob/main/vitepress-docs/docs/zh/guide/github-action.md