modify readme

This commit is contained in:
TooonyChen committed 2024-10-08 20:21:36 +13:00
1 parent 3d4399efba
commit c44688fbcb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ If there is no code, clickable link, or this is an advertisement email, return:
3. Then, in the repository page, navigate to `Settings` -> `Secrets and variables` -> `Actions` -> `Repository secrets` and add the following secrets:
- `CLOUDFLARE_ACCOUNT_ID`: Cloudflare account ID.
- `CLOUDFLARE_API_TOKEN`: Cloudflare API Token.
- `TOML`: configuration file, refer to [wrangler.toml](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example).
- `TOML`: Configuration file, refer to [wrangler.toml with comments](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example). If you encounter errors with GitHub Actions when using the commented version of wrangler.toml, please use the [version without comments](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example.clear).
4. Back to `Action` Page in your repository, find `Deploy Auth Inbox to Cloudflare Workers` and press `Run workflow` to deploy the worker.
+1 -1
View File
@@ -120,7 +120,7 @@ If there is no code, clickable link, or this is an advertisement email, return:
3. 然后,在仓库页面中,导航到 `Settings` -> `Secrets and variables` -> `Actions` -> `Repository secrets`,并添加以下 secrets:
- `CLOUDFLARE_ACCOUNT_ID`: Cloudflare 账户 ID。
- `CLOUDFLARE_API_TOKEN`: Cloudflare API Token。
- `TOML`: 配置文件,参考 [wrangler.toml](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example)。
- `TOML`: 配置文件,参考 [带有注释的wrangler.toml](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example)。如果你使用带有注释版本的wrangler.toml时github actions报错,请使用[不带注释的版本](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example.clear)。
4. 返回你仓库的 `Actions` 页面,找到 `Deploy Auth Inbox to Cloudflare Workers`,并按 `Run workflow` 来部署 worker。