Skip to content

Commit ac0a4d3

Browse files
authored
Merge pull request #80 from Ray-D-Song/docs
docs: update deployment instructions to reflect the temporary unavail…
2 parents 8dc4363 + c76d8b7 commit ac0a4d3

File tree

2 files changed

+20
-18
lines changed

2 files changed

+20
-18
lines changed

docs/deploy.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
## Github Actions 一键部署(推荐)
1+
## ~~Github Actions 一键部署~~
2+
> [!WARNING]
3+
> 由于 Cloudflare 的变动,一键部署功能暂时不可用。请使用命令部署。
24
3-
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ray-d-song/web-archive)
45

5-
点击上面的按钮,按照 Cloudflare 的指引完成部署。
6+
~~点击上面的按钮,按照 Cloudflare 的指引完成部署。~~
67

7-
> [!IMPORTANT]
8-
> R2 存储桶是需要在 Cloudflare 面板上手动开通的功能,请开通后再进行部署或者失败后 re-run Github Actions。
9-
> 仅需开通 R2 功能,不需要创建存储桶,存储桶会在部署时自动创建。
8+
> [!IMPORTANT]
9+
> ~~R2 存储桶是需要在 Cloudflare 面板上手动开通的功能,请开通后再进行部署或者失败后 re-run Github Actions。~~
10+
> ~~仅需开通 R2 功能,不需要创建存储桶,存储桶会在部署时自动创建。~~
1011
11-
> [!NOTE]
12-
> 创建令牌时,直接选择 `编辑 Cloudflare Workers` 模版,再手动添加 `D1 编辑` 权限。
12+
> [!NOTE]
13+
> ~~创建令牌时,直接选择 `编辑 Cloudflare Workers` 模版,再手动添加 `D1 编辑` 权限。~~
1314
1415
![permissions](https://raw.githubusercontent.com/ray-d-song/web-archive/main/docs/imgs/perm_zh.png)
1516

16-
部署后请尽快登录,首个登录的用户会被设置为管理员。
17+
~~部署后请尽快登录,首个登录的用户会被设置为管理员。~~
1718

1819
## 命令部署
1920

docs/en/deploy.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,20 @@
1-
## Github Actions
1+
## ~~Github Actions~~
22

3-
[![Deploy to Cloudflare Workers](https://deploy.workers.cloudflare.com/button)](https://deploy.workers.cloudflare.com/?url=https://github.com/ray-d-song/web-archive)
3+
> [!WARNING]
4+
> Due to changes in Cloudflare, the one-click deployment feature is temporarily unavailable. Please use command deployment.
45
5-
Click the button above, follow the instructions of Cloudflare to complete the deployment.
6+
~~Click the button above, follow the instructions of Cloudflare to complete the deployment. )~~
67

7-
> [!IMPORTANT]
8-
> R2 storage bucket is a feature that needs to be manually enabled in the Cloudflare panel, please enable it before deployment or re-run Github Actions after failure.
9-
> You only need to enable the R2 feature, no need to create a storage bucket, the storage bucket will be created automatically during deployment.
8+
>[!IMPORTANT]
9+
> ~~R2 storage bucket is a feature that needs to be manually enabled in the Cloudflare panel, please enable it before deployment or re-run Github Actions after failure.~~
10+
> ~~You only need to enable the R2 feature, no need to create a storage bucket, the storage bucket will be created automatically during deployment. ~~
1011
11-
> [!NOTE]
12-
> When creating a token, select the `Edit Cloudflare Workers` template directly, and then manually add the `D1 Edit` permission.
12+
> [!NOTE]
13+
> ~~When creating a token, select the `Edit Cloudflare Workers` template directly, and then manually add the `D1 Edit` permission.~~
1314
1415
![permissions](https://raw.githubusercontent.com/ray-d-song/web-archive/main/docs/imgs/perm.png)
1516

16-
Once deployed, please login as soon as possible, the first user to login will be set as the administrator.
17+
~~Once deployed, please login as soon as possible, the first user to login will be set as the administrator.~~
1718

1819
## Command Deploy
1920

0 commit comments

Comments
 (0)