Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
jetsung committed Jan 4, 2024
1 parent f2bfb0a commit 8054b66
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@

## 部署教程

### 通过 GitHub Actions 发布至 CloudFlare

从 CloudFlare 获取 `CLOUDFLARE_API_TOKEN` 值,并设置到项目。

> `https://github.com/<ORG>/<REPO>/settings/secrets/actions`
### 本地部署到 CloudFlare

1. 注册 [CloudFlare 账号](https://www.cloudflare.com/),并且设置 **Workers** 域名 (比如:`***.workers.dev`)
2. 安装 [Wrangler 命令行工具](https://developers.cloudflare.com/workers/wrangler/)
```bash
Expand Down
2 changes: 1 addition & 1 deletion src/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const htmlTemplate = `
</div>
<div class="copyright">
<p class="p-1">
© 2023 Cloudflare Workers | Powered by <a class="a-1" href="https://www.idev.top" target="_black">iDev SIG</a> | Project <a class="a-1" href="https://jihulab.com/servless/worker-filetas" target="_black">worker-filetas</a>
© 2023 Cloudflare Workers | Powered by <a class="a-1" href="https://www.idev.top" target="_black">iDev SIG</a> | Project <a class="a-1" href="https://github.com/servless/worker-filetas" target="_black">worker-filetas</a>
</p>
</div>
</body>
Expand Down

0 comments on commit 8054b66

Please sign in to comment.