From 270a6b0336826802a742d33410bc9363b254c885 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:52:25 +0900 Subject: [PATCH] fix: remove deploy:prod, the local bypass around CI/CD MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Production is deployed by CD on merge to main; deploy:prod let anyone with the shared clasp token rewrite prod HEAD without review or CI. Removing the script closes the accidental path. pnpm run deploy (dev push) stays. Same change as apps-script-fleet#199 — package.json is not template-synced, hence the per-repo PR. Part of h13/apps-script-fleet#194 (stage 1). --- README.ja.md | 1 - README.md | 1 - package.json | 1 - 3 files changed, 3 deletions(-) diff --git a/README.ja.md b/README.ja.md index 7451138..789ee7b 100644 --- a/README.ja.md +++ b/README.ja.md @@ -248,7 +248,6 @@ pnpm run deploy | `pnpm run check` | lint + lint:css + lint:html + 型チェック + テスト | | `pnpm run build` | TypeScript をバンドル + アセットを `dist/` にコピー | | `pnpm run deploy` | check → build → dev にデプロイ | -| `pnpm run deploy:prod` | check → build → 本番にデプロイ | | `pnpm run test -- --watch` | Jest のウォッチモード | ## リポジトリの同期 diff --git a/README.md b/README.md index 522f893..563ac4a 100644 --- a/README.md +++ b/README.md @@ -248,7 +248,6 @@ pnpm run deploy | `pnpm run check` | lint + lint:css + lint:html + typecheck + test | | `pnpm run build` | Bundle TypeScript + copy assets to `dist/` | | `pnpm run deploy` | check → build → deploy to dev | -| `pnpm run deploy:prod` | check → build → deploy to production | | `pnpm run test -- --watch` | Jest in watch mode | ## Keeping Repos in Sync diff --git a/package.json b/package.json index 99c0782..81804ea 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,6 @@ "check": "pnpm run lint && pnpm run lint:css && pnpm run lint:html && pnpm run typecheck && pnpm run test", "clean": "rimraf build dist", "deploy": "pnpm run check && pnpm run build && cp .clasp-dev.json .clasp.json && clasp push -f", - "deploy:prod": "pnpm run check && pnpm run build && cp .clasp-prod.json .clasp.json && clasp push", "format": "oxfmt --write .", "lint": "oxlint --fix src/ test/", "lint:css": "stylelint '**/*.{css,scss,html}' --allow-empty-input",