chore: put temetry disabling in build script
This commit is contained in:
parent
2a687a8628
commit
704d043a26
2 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue