Skip to content

theme-switcher is now a select (#1320) #206

theme-switcher is now a select (#1320)

theme-switcher is now a select (#1320) #206

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