Skip to content

📄 Blog - Updating to NextJs 14 (#1820) #1393

📄 Blog - Updating to NextJs 14 (#1820)

📄 Blog - Updating to NextJs 14 (#1820) #1393

name: Create Indices
on:
push:
branches:
- main
jobs:
create_indices:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: yarn install, create-indices
run: |
yarn install
yarn create-indices
env:
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_SEARCH_KEY: ${{ secrets.ALGOLIA_SEARCH_KEY }}
ALGOLIA_ADMIN_KEY: ${{ secrets.ALGOLIA_ADMIN_KEY }}