Skip to content

📦数据可视化 #1306

📦数据可视化

📦数据可视化 #1306

name: 全量更新索引
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [22.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