alias ES script into npm script (#48628)
Co-authored-by: Peter Bengtsson <peterbe@github.com>
This commit is contained in:
@@ -189,7 +189,7 @@ jobs:
|
||||
# not exist.
|
||||
VERSION: ${{ inputs.version }}
|
||||
run: |
|
||||
./src/search/scripts/index-elasticsearch.js /tmp/records \
|
||||
npm run index-elasticsearch -- /tmp/records \
|
||||
--language ${{ matrix.language }} \
|
||||
--stagger-seconds 5 \
|
||||
--retries 5
|
||||
|
||||
2
.github/workflows/sync-search-pr.yml
vendored
2
.github/workflows/sync-search-pr.yml
vendored
@@ -103,7 +103,7 @@ jobs:
|
||||
|
||||
- name: Index into Elasticsearch
|
||||
run: |
|
||||
./src/search/scripts/index-elasticsearch.js /tmp/records \
|
||||
npm run index-elasticsearch -- /tmp/records \
|
||||
--language en \
|
||||
--version dotcom
|
||||
|
||||
|
||||
Reference in New Issue
Block a user