Explorar el Código

add env var for search

mitm001 hace 5 años
padre
commit
8803b24396
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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