Lazy loaded image
部署
Lazy loaded imageCloudflare-Showcase的使用
字数 140阅读时长 1 分钟
2025-5-25
2025-6-21
8
notion image

准备工作

  1. GitHub账号 *1
  1. Cloudflare账号的 Api Token *1

部署-数据源📄

  1. 在GitHub中fork仓库 ymh0000123/Cloudflare-Showcase
  1. settings Actions secrets and variables 添加 Secrets CLOUDFLARE_API_TOKEN Cloudflare账号的 Api token ZONE_ID Cloudflare账号名下的域名的 ZONE_ID
  1. 在 GitHub Actions 中运行一次

部署-前端

  1. 打开 Cloudflare Cloudflare | Web 性能和安全性
  1. 点击 Compute (Workers) → Workers & Pages 页面中 Create
  1. 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

评论
Loading...