Skip to content

Commit

Permalink
chore(scripts): only build indexer
Browse files Browse the repository at this point in the history
  • Loading branch information
sinedied committed Oct 19, 2023
1 parent 3198fc4 commit 1f5dd03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/index-data.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion scripts/index-data.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 1f5dd03

Please sign in to comment.