Skip to content

[example/until] replace call to jsonplaceholder with a static text (#… #213

[example/until] replace call to jsonplaceholder with a static text (#…

[example/until] replace call to jsonplaceholder with a static text (#… #213

name: Build And Publish Search Index
on:
push:
branches:
- main
jobs:
build-publish-search-index:
runs-on: macos-latest
timeout-minutes: 10
steps:
- uses: google/wireit@setup-github-actions-caching/v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- name: Publish algolia search index
env:
ALGOLIA_WRITE_KEY: ${{ secrets.LIT_DEV_ALGOLIA_WRITE_KEY }}
run: npm run publish-search-index