Skip to content

✏可用性

✏可用性 #1173

name: 全量更新索引
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: 安装依赖
run: |
npm install
- name: 索引更新
env:
ALGOLIA_APPID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_SECRET: ${{ secrets.ALGOLIA_API_KEY }}
run: |
npm run update-index