Browse Source

add env var for search

mitm001 5 years ago
parent
commit
8803b24396
1 changed files with 4 additions and 0 deletions
  1. 4 0
      .github/workflows/main.yml

+ 4 - 0
.github/workflows/main.yml

@@ -38,6 +38,10 @@ jobs:
         #Static version is used to maintain stability.
         node-version: [12.17.0]
 
+    env: |
+      ALGOLIA_API_KEY=${{ secrets.ALGOLIA_API_KEY}}
+      ALGOLIA_IDX_NAME=${{ secrets.ALGOLIA_IDX_NAME}}
+
     steps:
     - name: Clone the repo
       uses: actions/checkout@v2