From fa856f921fb19e9cf38ca18c8332b90af52a7b62 Mon Sep 17 00:00:00 2001 From: "Siwat T." Date: Thu, 16 Jan 2025 22:10:16 +0700 Subject: [PATCH] ci: separate build and build-and-deploy command --- package.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dc07bf5..b0fba39 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "ng": "ng", "start": "ng serve", - "build": "ng build && pnpm sentry:sourcemaps", + "build": "ng build", + "build-and-deploy": "ng build && pnpm sentry:sourcemaps && firebase deploy --only hosting", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e", @@ -72,4 +73,4 @@ "typescript": "~5.5.4" }, "description": "An Ionic project" -} \ No newline at end of file +}