fix: populate empty scatter charts with current perf data format #22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy Dashboard | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [master] | |
| paths: | |
| - "deploy/index.html" | |
| - "results/xlsx/results.json" | |
| - "results/perf/results.json" | |
| - "results/xlsx/*.svg" | |
| - "src/excelbench/results/html_dashboard.py" | |
| - ".github/workflows/deploy-dashboard.yml" | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - uses: astral-sh/setup-uv@v3 | |
| - name: Install deps | |
| run: uv sync | |
| - name: Generate HTML dashboard | |
| run: uv run excelbench html --output deploy/index.html | |
| - name: Install Vercel CLI | |
| run: npm i -g vercel@latest | |
| - name: Deploy to Vercel | |
| env: | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| run: vercel deploy --cwd deploy --prod --yes --token "$VERCEL_TOKEN" |