Skip to content

feat: add interactive index tuning insights #2

feat: add interactive index tuning insights

feat: add interactive index tuning insights #2

Workflow file for this run

name: Deploy public benchmark demo
on:
push:
branches: [main]
paths:
- "frontend/**"
- ".github/workflows/deploy-pages.yml"
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: github-pages
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v6
- name: Set up Node.js
uses: actions/setup-node@v5
with:
node-version: "22.13.0"
cache: npm
cache-dependency-path: frontend/package-lock.json
- name: Install frontend dependencies
working-directory: frontend
run: npm ci
- name: Build read-only static demo
working-directory: frontend
env:
NEXT_PUBLIC_READ_ONLY_DEMO: "true"
NEXT_PUBLIC_SITE_BASE_PATH: "/milvus-lab/"
run: npm run build:pages
- name: Configure GitHub Pages
uses: actions/configure-pages@v5
- name: Upload site artifact
uses: actions/upload-pages-artifact@v4
with:
path: frontend/dist/client
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4