Skip to content

Commit d9ab32b

Browse files
Li-Evanclaude
andcommitted
README 同步上线官网链接 + site/ 目录说明
- README.md / README.zh.md:顶部加 🌐 Website 链接、Project Structure 补 site/ - site/README.md:部署说明更新为已上线 + 自动部署 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 1553444 commit d9ab32b

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</p>
2424

2525
<p align="center">
26-
<a href="./README.zh.md">Chinese</a> · English
26+
<a href="https://li-evan.github.io/Bloom/"><strong>🌐 Website</strong></a> · <a href="./README.zh.md">Chinese</a> · English
2727
</p>
2828

2929
---
@@ -171,6 +171,7 @@ make up / make down # docker start / stop
171171
│ ├── CoursePage # syllabus + lesson list
172172
│ └── LessonPage # reader + annotations + feedback + AI gen
173173
├── example/ # pre-built topics for CLI mode
174+
├── site/ # marketing website (standalone Astro static build, decoupled from the app)
174175
└── skills/ # portable Claude Code skills (bloom-tutor + learn-*)
175176
```
176177

README.zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</p>
2424

2525
<p align="center">
26-
简体中文 · <a href="./README.md">English</a>
26+
<a href="https://li-evan.github.io/Bloom/"><strong>🌐 官网</strong></a> · 简体中文 · <a href="./README.md">English</a>
2727
</p>
2828

2929
---

site/README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,11 @@ npm run preview # serve the production build locally
3434
`site/dist` is a plain static bundle — deploy it anywhere (Vercel, Netlify,
3535
Cloudflare Pages, GitHub Pages, S3…). The app's own deploy is unaffected.
3636

37-
**GitHub Pages:** a manual workflow lives at
38-
[`../.github/workflows/deploy-site.yml`](../.github/workflows/deploy-site.yml).
39-
To use it:
40-
41-
1. Repo **Settings → Pages → Build and deployment → Source: GitHub Actions**
42-
2. Run the **"Deploy site to GitHub Pages"** workflow (Actions tab → Run workflow)
43-
3. If serving from a project page (`li-evan.github.io/Bloom`), uncomment `base: '/Bloom'`
44-
in `astro.config.mjs`. For a custom domain, set `site:` and add `public/CNAME`.
37+
**GitHub Pages (live):** deployed at **<https://li-evan.github.io/Bloom/>** via
38+
[`../.github/workflows/deploy-site.yml`](../.github/workflows/deploy-site.yml),
39+
which auto-runs on every change under `site/`. `astro.config.mjs` already sets
40+
`base: '/Bloom'` for the project page. For a custom domain or user page, set `base`
41+
back to `'/'`, point `site:` at the domain, and add `public/CNAME`.
4542

4643
The "Get started" CTAs link to the [GitHub repo](https://github.com/Li-Evan/Bloom)
4744
and the local quick-start. If you ever host the web app publicly, point those CTAs

0 commit comments

Comments
 (0)