From 00cd69b6e5d25230371e4db3ff03fedd9b666ac5 Mon Sep 17 00:00:00 2001 From: aurindam Date: Fri, 27 Sep 2024 13:23:29 +0200 Subject: [PATCH] Debug 4 --- .github/workflows/typesense-scrape.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/typesense-scrape.yml b/.github/workflows/typesense-scrape.yml index 466fc5872..ac6ac5558 100644 --- a/.github/workflows/typesense-scrape.yml +++ b/.github/workflows/typesense-scrape.yml @@ -65,7 +65,7 @@ jobs: cat temp_scraper_output.txt # Retrieve the collection name - collection_name=$(grep -o -m 1 'POST /collections/'${{ inputs.version }}'_[0-9]\+' temp_scraper_output.txt) + collection_name=$(sed -n 's/.*POST \/collections\/\(master_[0-9]*\)\/.*/\1/p' temp_scraper_output.txt) # Retrieve documents from typesense server curl -H "X-TYPESENSE-API-KEY: ${{ secrets.TYPESENSE_API_KEY }}" \