From 0e241d93dc5c0aeb1ca7a0dea9d4d96124b2afa3 Mon Sep 17 00:00:00 2001 From: Hironori Takahashi Date: Tue, 1 Dec 2026 19:52:18 +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 9f6550c..5bc9fd9 100644 --- a/README.ja.md +++ b/README.ja.md @@ -83,7 +83,6 @@ test/ | `pnpm run test` | Jest(カバレッジ付き) | | `pnpm run test -- --watch` | Jest ウォッチモード | | `pnpm run deploy` | check → build → dev にデプロイ | -| `pnpm run deploy:prod` | check → build → 本番にデプロイ | ## CI/CD diff --git a/README.md b/README.md index e7e64b5..46a6092 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,6 @@ test/ | `pnpm run test` | Jest with coverage | | `pnpm run test -- --watch` | Jest watch mode | | `pnpm run deploy` | check → build → deploy to dev | -| `pnpm run deploy:prod` | check → build → deploy to production | ## CI/CD diff --git a/package.json b/package.json index e328f88..1bc42c9 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}'",