chore: put temetry disabling in build script

This commit is contained in:
Ayo Ayco 2025-01-27 22:01:05 +01:00
parent 2a687a8628
commit 704d043a26
2 changed files with 1 additions and 4 deletions

View file

@ -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

View file

@ -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"