From 6c4b86644b22ad9ffbf5aa0f7219754e912d704d Mon Sep 17 00:00:00 2001 From: TooonyChen <26252739+TooonyChen@users.noreply.github.com> Date: Tue, 8 Oct 2024 20:24:37 +1300 Subject: [PATCH] modify readme --- README.md | 2 +- README_CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 57142f5..acbb80f 100644 --- a/README.md +++ b/README.md @@ -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 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). + - `TOML`: Configuration file, refer to [wrangler.toml with comments](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example). **Please use the [version without comments](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example.clear) in adding the secret in case of unknown errors.** 4. Back to `Action` Page in your repository, find `Deploy Auth Inbox to Cloudflare Workers` and press `Run workflow` to deploy the worker. diff --git a/README_CN.md b/README_CN.md index fbbbbc5..a3c6140 100644 --- a/README_CN.md +++ b/README_CN.md @@ -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)。如果你使用带有注释版本的wrangler.toml时github actions报错,请使用[不带注释的版本](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example.clear)。 + - `TOML`: 配置文件,参考 [带有注释的wrangler.toml](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example)。**添加至secrets时,请使用[不带注释的版本](https://github.com/TooonyChen/AuthInbox/blob/main/wrangler.toml.example.clear)来避免奇怪的报错。 4. 返回你仓库的 `Actions` 页面,找到 `Deploy Auth Inbox to Cloudflare Workers`,并按 `Run workflow` 来部署 worker。