From 19af03aa50937b34580bbe51958877bc1ca6e6c6 Mon Sep 17 00:00:00 2001 From: Andrew Hsu Date: Tue, 20 Aug 2024 09:10:57 -0500 Subject: [PATCH] gha: set env var ALGOLIA_INDEX_NAME (#72) * gha: set env var ALGOLIA_INDEX_NAME * Apply suggestions from code review --------- Co-authored-by: Jake Cahill <45230295+JakeSCahill@users.noreply.github.com> --- .github/workflows/index-api.yaml | 2 ++ .github/workflows/index-blogs.yaml | 2 ++ .github/workflows/index-masterclasses.yaml | 2 ++ .github/workflows/index-youtube.yaml | 2 ++ 4 files changed, 8 insertions(+) diff --git a/.github/workflows/index-api.yaml b/.github/workflows/index-api.yaml index 153a1c5..de2c625 100644 --- a/.github/workflows/index-api.yaml +++ b/.github/workflows/index-api.yaml @@ -30,3 +30,5 @@ jobs: run: cd scripts/index-api && npm install - name: Run indexing script run: node scripts/index-api/index-api.js + env: + ALGOLIA_INDEX_NAME: redpanda diff --git a/.github/workflows/index-blogs.yaml b/.github/workflows/index-blogs.yaml index f226850..c585de2 100644 --- a/.github/workflows/index-blogs.yaml +++ b/.github/workflows/index-blogs.yaml @@ -30,3 +30,5 @@ jobs: run: cd scripts/index-blogs && npm install - name: Run indexing script run: node scripts/index-blogs/index-blogs.js + env: + ALGOLIA_INDEX_NAME: redpanda diff --git a/.github/workflows/index-masterclasses.yaml b/.github/workflows/index-masterclasses.yaml index 1875c36..67cf7aa 100644 --- a/.github/workflows/index-masterclasses.yaml +++ b/.github/workflows/index-masterclasses.yaml @@ -31,3 +31,5 @@ jobs: run: cd scripts/index-masterclasses && npm install - name: Run indexing script run: node scripts/index-masterclasses/index-masterclasses.js + env: + ALGOLIA_INDEX_NAME: redpanda diff --git a/.github/workflows/index-youtube.yaml b/.github/workflows/index-youtube.yaml index aa74820..260c184 100644 --- a/.github/workflows/index-youtube.yaml +++ b/.github/workflows/index-youtube.yaml @@ -31,3 +31,5 @@ jobs: run: cd scripts/index-youtube && npm install - name: Run indexing script run: node scripts/index-youtube/index-youtube.js + env: + ALGOLIA_INDEX_NAME: redpanda