From d5fb3664fd726c528ae8cce47b938a38005678e9 Mon Sep 17 00:00:00 2001 From: mesutoezdil Date: Fri, 3 Jul 2026 18:26:31 +0200 Subject: [PATCH] docs: fix deploy instructions to match actual netlify hosting Signed-off-by: mesutoezdil --- AGENTS.md | 8 ++------ README.md | 8 ++------ 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 0350a895..814774a0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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= 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 diff --git a/README.md b/README.md index 5b0ff65c..98c26654 100644 --- a/README.md +++ b/README.md @@ -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= 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. @@ -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