ci: add skills index workflow
Some checks failed
Forge CI / smoke-and-build (pull_request) Failing after 37s

This commit is contained in:
Alexander Whitestone
2026-04-13 00:23:59 -04:00
parent f5f028d981
commit 4210412bef
2 changed files with 110 additions and 1 deletions

View File

@@ -41,11 +41,19 @@ jobs:
python-version: '3.11'
- name: Install PyYAML for skill extraction
run: pip install pyyaml
run: pip install pyyaml httpx
- name: Extract skill metadata for dashboard
run: python3 website/scripts/extract-skills.py
- name: Build skills index (if not already present)
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if [ ! -f website/static/api/skills-index.json ]; then
python3 scripts/build_skills_index.py || echo "Skills index build failed (non-fatal)"
fi
- name: Install dependencies
run: npm ci
working-directory: website