Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,9 @@ npm run build:fast # build English locale only (skips zh, for quick iteration

CI (`.github/workflows/docs-health.yml`) runs `lint`, `format:check`, and `build` on every PR.

### Deploy to GitHub Pages
### Deployment

```bash
GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy
```

Builds and deploys the website to the `gh-pages` branch for GitHub Pages hosting.
The site deploys automatically to Netlify on every merge to `master` (see `netlify.toml`). No manual deploy step is needed.

## Commit Convention

Expand Down
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,7 @@ See [BUILD_OPTIMIZATION.md](./BUILD_OPTIMIZATION.md) for details on optimization

## Deployment

For GitHub Pages (requires appropriate permissions):

```bash
GIT_USER=<your_github_username> USE_SSH=true npm run deploy
```
The site deploys automatically to Netlify on every merge to `master` (see `netlify.toml`). No manual deploy step is needed.

For other hosting services, deploy the `build/` directory as a static site.

Expand Down Expand Up @@ -170,7 +166,7 @@ To contribute translations, update the corresponding files in `i18n/zh/`.
- **Compiler**: SWC
- **Runtime**: Node.js v20+
- **Package Manager**: npm
- **Hosting**: GitHub Pages / Netlify
- **Hosting**: Netlify

## Maintainers

Expand Down
Loading