diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index db0cac62..8047da5d 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -35,6 +35,7 @@ jobs: - name: Deploy Docs for ${{github.ref_name}} run: | cd vitepress-docs/ + wget https://github.com/dreamhunter2333/cloudflare_temp_email/releases/latest/download/frontend.zip -O public/ui_install/frontend.zip pnpm install --no-frozen-lockfile if [[ ${{github.ref}} == refs/tags/* ]]; then export TAG_NAME=${{github.ref_name}} diff --git a/vitepress-docs/docs/zh/guide/ui/pages.md b/vitepress-docs/docs/zh/guide/ui/pages.md index 2f99a8f0..c587062b 100644 --- a/vitepress-docs/docs/zh/guide/ui/pages.md +++ b/vitepress-docs/docs/zh/guide/ui/pages.md @@ -60,6 +60,13 @@ const generate = async () => { {{ tip }} + > [!NOTE] + > 你也可以手动部署,从这里下载 zip, [frontend.zip](https://github.com/dreamhunter2333/cloudflare_temp_email/releases/latest/download/frontend.zip) + > + > 修改压缩包里面的 index-xxx.js 文件 ,xx 是随机的字符串 + > + > 搜索 `https://temp-email-api.xxx.xxx` ,替换成你worker 的域名,然后部署新的zip文件 + 4. 选择 `Pages`,点击 `Create Pages`, 修改名称,上传下载的 zip 包,然后点击 `Deploy` ![pages1](/ui_install/pages-1.png)