From 0dfe7eb32bfa58b36aadf5b3ec049bd35fa86b84 Mon Sep 17 00:00:00 2001 From: Shravan Goswami Date: Fri, 31 May 2024 14:42:42 +0530 Subject: [PATCH] search workflow done --- .github/workflows/publish.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4e1e4c97c..c4b34db55 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -57,10 +57,9 @@ jobs: run: | jq 'map( if .href then .href = "../" + .href else . end | - if .objectID then .objectID = "../" + .objectID else . end - )' search_original.json > fixed_main_search.json + if .objectID then .objectID = "../" + .objectID else . end)' search_original.json > fixed_main_search.json - - name: Merge search indices + - name: Merge both search index run: | jq -s '.[0] + .[1]' _site/search_original.json fixed_main_search.json > _site/search.json