docs: Update deployment instructions and correct platform names

Corrected platform name from 'Github' to 'GitHub' and added step for updating code after forking, enhancing clarity and completeness of deployment guide.
This commit is contained in:
ccbikai
2024-08-05 12:05:53 +08:00
parent bfb8974612
commit 4f4913304f
2 changed files with 6 additions and 4 deletions

View File

@@ -30,12 +30,13 @@ For detailed tutorials, see [Deploy your Astro site](https://docs.astro.build/en
## 🏗️ Deployment
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) this project to your Github
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) this project to your GitHub
2. Create a project on Cloudflare/Netlify/Vercel
3. Select the `BroadcastChannel` project and the `Astro` framework
4. Configure the environment variable `CHANNEL` with your channel name. This is the minimal configuration, for more configurations see the options below
5. Save and deploy
6. Bind a domain (optional).
7. Update code, refer to the official GitHub documentation [Syncing a fork branch from the web UI](https://docs.github.com/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork#syncing-a-fork-branch-from-the-web-ui).
## ⚒️ Configuration
@@ -78,4 +79,4 @@ STATIC_PROXY=""
1. [Follow me on Telegram](https://t.me/miantiao_me)
2. [Follow me on 𝕏](https://x.com/0xKaiBi)
3. [Sponsor me on Github](https://github.com/sponsors/ccbikai)
3. [Sponsor me on GitHub](https://github.com/sponsors/ccbikai)

View File

@@ -30,12 +30,13 @@
## 🏗️ 部署
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) 此项目到你 Github
1. [Fork](https://github.com/ccbikai/BroadcastChannel/fork) 此项目到你 GitHub
2. 在 Cloudflare/Netlify/Vercel 创建项目
3. 选择 `BroadcastChannel` 项目和 `Astro` 框架
4. 配置环境变量 `CHANNEL` 为你的频道名称。此为最小化配置,更多配置见下面的配置项
5. 保存并部署
6. 绑定域名(可选)。
7. 更新代码,参考 GitHub 官方文档 [从 Web UI 同步分叉分支](https://docs.github.com/zh/pull-requests/collaborating-with-pull-requests/working-with-forks/syncing-a-fork#syncing-a-fork-branch-from-the-web-ui)。
## ⚒️ 配置
@@ -78,4 +79,4 @@ STATIC_PROXY=""
1. [在 Telegram 关注我](https://t.me/miantiao_me)
2. [𝕏 上关注我](https://x.com/ccbikai)
3. [在 Github 赞助我](https://github.com/sponsors/ccbikai)
3. [在 GitHub 赞助我](https://github.com/sponsors/ccbikai)