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"