hkuds--openharness
dea9ee8386
Replace the inline HTML template with a Vite + React + TypeScript app in autopilot-dashboard/. The new design follows the AnyFS dark theme aesthetic with animated SVG hero background (data streams, constellation nodes, binary rain, scanline), pipeline visualization, glass cards with status-colored glow effects, and JetBrains Mono typography throughout. - autopilot-dashboard/: new Vite+React project, builds to docs/autopilot/ - HeroBackground.tsx: multi-layer SMIL SVG animation - PipelineAnimation.tsx: QUEUE→PREP→RUN→CHECK→MERGE traveling glow - CI workflow updated to build React app before deploying to Pages - Python _render_dashboard_html simplified to a minimal fallback page Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
60 行
1.3 KiB
YAML
60 行
1.3 KiB
YAML
name: Autopilot Pages
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- "docs/autopilot/**"
|
|
- "autopilot-dashboard/**"
|
|
- ".github/workflows/autopilot-pages.yml"
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
pages: write
|
|
id-token: write
|
|
|
|
concurrency:
|
|
group: autopilot-pages
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deployment.outputs.page_url }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
cache-dependency-path: autopilot-dashboard/package-lock.json
|
|
|
|
- name: Install dependencies
|
|
working-directory: autopilot-dashboard
|
|
run: npm ci
|
|
|
|
- name: Build dashboard
|
|
working-directory: autopilot-dashboard
|
|
run: npm run build
|
|
|
|
- name: Configure Pages
|
|
uses: actions/configure-pages@v5
|
|
with:
|
|
enablement: true
|
|
|
|
- name: Upload autopilot dashboard artifact
|
|
uses: actions/upload-pages-artifact@v3
|
|
with:
|
|
path: docs/autopilot
|
|
|
|
- name: Deploy to GitHub Pages
|
|
id: deployment
|
|
uses: actions/deploy-pages@v4
|