From 704d043a264061f605ce7900fbcf9d1869f387d7 Mon Sep 17 00:00:00 2001 From: Ayo Ayco Date: Mon, 27 Jan 2025 22:01:05 +0100 Subject: [PATCH] chore: put temetry disabling in build script --- .build.yml | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index 3fe9efa..50c6a67 100644 --- a/.build.yml +++ b/.build.yml @@ -8,9 +8,6 @@ secrets: environment: NETLIFY_SITE_ID: d48d0f43-25b7-4d03-bbd2-b19ed09ea063 tasks: - - disable-telemetry: | - cd guides - npx astro telemetry disable - install-deps: | cd guides pnpm i diff --git a/package.json b/package.json index 1a74bf7..4a56989 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "astro dev", "start": "astro dev", - "build": "astro build", + "build": "astro telemetry disable && astro build", "preview": "astro preview", "astro": "astro", "deploy": "netlify deploy --site=$NETLIFY_SITE_ID --dir=dist --prod"