Skip to content

[docs] Update url for swapi api in controller example (#1309) #203

[docs] Update url for swapi api in controller example (#1309)

[docs] Update url for swapi api in controller example (#1309) #203

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