From d693837150fa0e8df8d8af32d57a3072c67bec89 Mon Sep 17 00:00:00 2001
From: saltbo
-
+
@@ -134,14 +134,14 @@ See [docs/deploy/aws-lambda.md](docs/deploy/aws-lambda.md) for full setup instru
**Quick start** — pull the pre-built image and bring your own S3 storage:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**With RustFS** (self-hosted S3-compatible storage, no external dependencies):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/architecture.md b/docs/architecture.md
index 5a2a5c46..e9699154 100644
--- a/docs/architecture.md
+++ b/docs/architecture.md
@@ -143,7 +143,7 @@ GitHub Actions:
- `pnpm test` — Vitest unit + API tests
- `pnpm e2e` — Playwright tests
-**On merge to master:**
+**On merge to main:**
- Build + deploy to CF Workers (preview / production)
- Build Docker image + push to Docker Hub (planned)
diff --git a/docs/deploy/aws-lambda.md b/docs/deploy/aws-lambda.md
index daaef9ff..279f1ddf 100644
--- a/docs/deploy/aws-lambda.md
+++ b/docs/deploy/aws-lambda.md
@@ -58,7 +58,7 @@ For production, scope the `Resource` fields to specific ARNs. The workflow creat
2. Add the secrets above
3. Go to the **Actions** tab → **Deploy to AWS Lambda** → **Run workflow**
-The workflow runs automatically on every push to `master` after initial setup. Re-running is idempotent — it redeploys without recreating existing resources.
+The workflow runs automatically on every push to `main` after initial setup. Re-running is idempotent — it redeploys without recreating existing resources.
## First-boot storage setup
diff --git a/docs/deploy/azure-functions.md b/docs/deploy/azure-functions.md
index 931498e5..fc5fd874 100644
--- a/docs/deploy/azure-functions.md
+++ b/docs/deploy/azure-functions.md
@@ -77,7 +77,7 @@ In your fork go to **Settings → Secrets and variables → Actions** and add:
## 4 — Run the workflow
-The workflow triggers automatically on every push to `master` **and** can be triggered manually via **Actions → Deploy to Azure Functions → Run workflow**.
+The workflow triggers automatically on every push to `main` **and** can be triggered manually via **Actions → Deploy to Azure Functions → Run workflow**.
> The workflow includes `if: github.repository != 'saltbo/zpan'` so it is a no-op in the upstream repo. It only runs in your fork.
diff --git a/docs/deploy/cloud-run.md b/docs/deploy/cloud-run.md
index d459b7c6..f23e5ff2 100644
--- a/docs/deploy/cloud-run.md
+++ b/docs/deploy/cloud-run.md
@@ -73,7 +73,7 @@ Set these in your fork's GitHub repository under **Settings → Secrets and vari
5. **Add the required secrets** to your fork (see table above). `BETTER_AUTH_URL` and `BETTER_AUTH_SECRET` are both optional — the workflow handles them automatically on first deploy.
-6. **Push to `master`** — the `deploy-cloud-run.yml` workflow runs automatically. Cloud Build builds the image, Turso migrations run, `service.yaml` drives the Cloud Run deploy, and `BETTER_AUTH_URL` is auto-wired from the assigned service URL.
+6. **Push to `main`** — the `deploy-cloud-run.yml` workflow runs automatically. Cloud Build builds the image, Turso migrations run, `service.yaml` drives the Cloud Run deploy, and `BETTER_AUTH_URL` is auto-wired from the assigned service URL.
## Workflow Steps
diff --git a/docs/deploy/netlify.md b/docs/deploy/netlify.md
index 17e68202..de35e875 100644
--- a/docs/deploy/netlify.md
+++ b/docs/deploy/netlify.md
@@ -55,7 +55,7 @@ In your fork, go to **Settings → Secrets and variables → Actions → New rep
## Trigger Deploy
-Push to `master` or go to **Actions → Deploy to Netlify → Run workflow**.
+Push to `main` or go to **Actions → Deploy to Netlify → Run workflow**.
The workflow will:
1. Resolve the latest ZPan release from the upstream repo
diff --git a/docs/deploy/vercel.md b/docs/deploy/vercel.md
index d2803933..a90f101f 100644
--- a/docs/deploy/vercel.md
+++ b/docs/deploy/vercel.md
@@ -52,7 +52,7 @@ Set these in your fork's GitHub repository under **Settings → Secrets and vari
4. **Add the required secrets** to your fork (see table above). `BETTER_AUTH_SECRET` is optional — the workflow auto-generates one on first deploy and stores it in your Vercel project env.
-5. **Push to `master`** — the `deploy-vercel.yml` workflow runs automatically and deploys to production.
+5. **Push to `main`** — the `deploy-vercel.yml` workflow runs automatically and deploys to production.
## Local Development
diff --git a/docs/i18n/README.es.md b/docs/i18n/README.es.md
index 958bc77f..1f9ab438 100644
--- a/docs/i18n/README.es.md
+++ b/docs/i18n/README.es.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ Consulta [docs/deploy/aws-lambda.md](../deploy/aws-lambda.md) para obtener las i
**Inicio rápido** — descarga la imagen precompilada y aporta tu propio almacenamiento S3:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**Con RustFS** (almacenamiento compatible con S3 autoalojado, sin dependencias externas):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/i18n/README.ja.md b/docs/i18n/README.ja.md
index dbaf8350..05d428e7 100644
--- a/docs/i18n/README.ja.md
+++ b/docs/i18n/README.ja.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ SAM を使って GitHub Actions 経由でデプロイ。Lambda Function URL が
**クイックスタート** — ビルド済みイメージをプルし、自分の S3 ストレージを用意します:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**RustFS を使う場合**(セルフホスト型の S3 互換ストレージ、外部依存なし):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/i18n/README.ko.md b/docs/i18n/README.ko.md
index 5ebefd08..fcf5a1f9 100644
--- a/docs/i18n/README.ko.md
+++ b/docs/i18n/README.ko.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ SAM을 사용하여 GitHub Actions를 통해 배포합니다. Lambda Function UR
**빠른 시작** — 미리 빌드된 이미지를 가져오고 직접 보유한 S3 스토리지를 사용합니다:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**RustFS 사용** (셀프 호스팅 S3 호환 스토리지, 외부 의존성 없음):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/i18n/README.pt-BR.md b/docs/i18n/README.pt-BR.md
index 46c6c0c8..45b9bb2b 100644
--- a/docs/i18n/README.pt-BR.md
+++ b/docs/i18n/README.pt-BR.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ Veja [docs/deploy/aws-lambda.md](../deploy/aws-lambda.md) para instruções comp
**Início rápido** — baixe a imagem pré-construída e traga seu próprio armazenamento S3:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**Com RustFS** (armazenamento S3-compatible self-hosted, sem dependências externas):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/i18n/README.ru.md b/docs/i18n/README.ru.md
index cf374777..37452452 100644
--- a/docs/i18n/README.ru.md
+++ b/docs/i18n/README.ru.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ ZPan не стремится быть:
**Быстрый старт** — загрузите готовый образ и подключите своё S3-хранилище:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**С RustFS** (самостоятельно размещаемое S3-совместимое хранилище, без внешних зависимостей):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/i18n/README.zh-CN.md b/docs/i18n/README.zh-CN.md
index fc642e0f..6a7c61d6 100644
--- a/docs/i18n/README.zh-CN.md
+++ b/docs/i18n/README.zh-CN.md
@@ -18,7 +18,7 @@
-
+
@@ -130,14 +130,14 @@ ZPan 并不打算成为:
**快速开始** — 拉取预构建镜像并自带 S3 存储:
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.yml
docker compose up -d
```
**搭配 RustFS**(自托管的 S3-compatible 存储,无外部依赖):
```bash
-curl -O https://raw.githubusercontent.com/saltbo/zpan/master/deploy/docker-compose.rustfs.yml
+curl -O https://raw.githubusercontent.com/saltbo/zpan/main/deploy/docker-compose.rustfs.yml
docker compose -f docker-compose.rustfs.yml up -d
```
diff --git a/docs/roadmap/v2.5.md b/docs/roadmap/v2.5.md
index 3d1a234b..3c0912d3 100644
--- a/docs/roadmap/v2.5.md
+++ b/docs/roadmap/v2.5.md
@@ -109,7 +109,7 @@ Every target's docs follow this 3-step flow:
> **Note on S3 credentials.** S3 / R2 / OSS / COS bucket configuration is **not** a GitHub Secret. ZPan stores storage credentials in the `storages` database table, configured via the admin UI after the first deploy. This keeps bucket secrets off both GitHub and the workflow logs, and lets a single ZPan instance manage multiple storage backends.
-3. **Trigger deploy** — `git push origin master` or Actions tab → Run workflow.
+3. **Trigger deploy** — `git push origin main` or Actions tab → Run workflow.
First push creates resources and deploys from the latest upstream release. Subsequent pushes redeploy. Docker users skip all of this and run `docker compose up`.
@@ -239,7 +239,7 @@ Each `docs/deploy/