Skip to content

Commit 43d3cdf

Browse files
Add generated index with two taxonomies, sitemap, and community repo setup
- repos.yaml: central registry of Supermodel + community repos - generate-index.go: builds index.html with search and sitemap.xml - build-index.yml: GitHub Actions workflow to regenerate on changes - setup-community-repos.sh: script to fork, configure, and deploy community repos Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 3a2c0cd commit 43d3cdf

File tree

6 files changed

+841
-0
lines changed

6 files changed

+841
-0
lines changed

.github/workflows/build-index.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Build Index
2+
3+
on:
4+
push:
5+
paths: [repos.yaml, generate-index.go]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: pages
15+
cancel-in-progress: true
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
environment:
21+
name: github-pages
22+
url: ${{ steps.deploy.outputs.page_url }}
23+
steps:
24+
- uses: actions/checkout@v4
25+
26+
- uses: actions/setup-go@v5
27+
with:
28+
go-version: '1.24'
29+
30+
- name: Init Go module
31+
run: |
32+
go mod init generate-index
33+
go mod tidy
34+
35+
- name: Generate site
36+
run: go run generate-index.go
37+
38+
- uses: actions/upload-pages-artifact@v3
39+
with:
40+
path: ./site
41+
42+
- name: Deploy to GitHub Pages
43+
id: deploy
44+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)