diff --git a/.github/workflows/sync-search-pr.yml b/.github/workflows/sync-search-pr.yml index 4a02acb756..0e5d3c6111 100644 --- a/.github/workflows/sync-search-pr.yml +++ b/.github/workflows/sync-search-pr.yml @@ -95,10 +95,9 @@ jobs: run: | mkdir /tmp/records - npm run sync-search-indices -- \ + npm run sync-search-indices -- /tmp/records \ --language en \ - --version dotcom \ - /tmp/records + --version dotcom ls -lh /tmp/records @@ -108,10 +107,9 @@ jobs: - name: Index into Elasticsearch run: | - ./script/search/index-elasticsearch.js \ + ./script/search/index-elasticsearch.js /tmp/records \ --language en \ - --version dotcom \ - /tmp/records + --version dotcom - name: Check created indexes and aliases run: |