
准备工作
- GitHub账号 *1
- Cloudflare账号的 Api Token *1
部署-数据源📄
- 在GitHub中fork仓库 ymh0000123/Cloudflare-Showcase
- 在 settings → Actions secrets and variables 添加 Secrets
CLOUDFLARE_API_TOKEN
Cloudflare账号的 Api tokenZONE_ID
Cloudflare账号名下的域名的 ZONE_ID
- 在 GitHub Actions 中运行一次
部署-前端
- 打开 Cloudflare Cloudflare | Web 性能和安全性
- 点击 Compute (Workers) → Workers & Pages 页面中 Create
- 在 Get started → Pages → Import an existing Git repository 导入fork的仓库
🎉大功告成
查看部署的前端显示了数据说明你成功了
上一篇
This message is used to verify that this feed (feedId:146419050435405824) belongs to me (userId:sUFIsbFDOMr5z1AzcqiJ6uhbMyf6uBZg). Join me in enjoying the next generation information browser https://follow.is.
下一篇
免费部署Alist
- 作者:没用的小废鼠
- 链接:https://feishu.xiao-feishu.top/article/Cloudflare-Showcase
- 声明:本文采用 CC BY-NC-SA 4.0 许可协议,转载请注明出处。