From 1f5dd03f4cc63035c624f2f954c5467bf35f3c89 Mon Sep 17 00:00:00 2001 From: Yohan Lasorsa Date: Thu, 19 Oct 2023 14:23:24 +0000 Subject: [PATCH] chore(scripts): only build indexer --- scripts/index-data.ps1 | 2 +- scripts/index-data.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/index-data.ps1 b/scripts/index-data.ps1 index 05c2e2dc..800be488 100644 --- a/scripts/index-data.ps1 +++ b/scripts/index-data.ps1 @@ -16,7 +16,7 @@ foreach ($line in $output) { Write-Host 'Installing dependencies and building CLI' npm ci -npm run build +npm run build --workspace=indexer Write-Host 'Running "index-files" CLI tool' npx index-files --wait --indexer-url "$env:INDEXER_API_URI" --index-name "$env:AZURE_SEARCH_INDEX" ./data/*.md diff --git a/scripts/index-data.sh b/scripts/index-data.sh index 92a62ef1..3e68eea4 100755 --- a/scripts/index-data.sh +++ b/scripts/index-data.sh @@ -6,7 +6,7 @@ export $(azd env get-values | xargs) echo 'Installing dependencies and building CLI' npm ci -npm run build +npm run build --workspace=indexer echo 'Running "index-files" CLI tool' npx index-files \