Skip to content

Commit 60ce08a

Browse files
committed
feat: switch to unified auto-sync GitHub Pages template
Replaces hardcoded HTML with build-time Jinja2 rendering from plugin.json, skills/, rules/, and mcp-tools.json via Developer-Tools-Directory template. Made-with: Cursor
1 parent 5359125 commit 60ce08a

12 files changed

Lines changed: 924 additions & 771 deletions

File tree

.github/workflows/pages.yml

Lines changed: 31 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,13 @@ name: Deploy to GitHub Pages
33
on:
44
push:
55
branches: [main]
6-
paths: [docs/**, assets/**]
6+
paths:
7+
- "skills/**"
8+
- "rules/**"
9+
- "mcp-tools.json"
10+
- "site.json"
11+
- ".cursor-plugin/plugin.json"
12+
- "assets/**"
713
workflow_dispatch:
814

915
permissions:
@@ -12,7 +18,7 @@ permissions:
1218

1319
concurrency:
1420
group: pages
15-
cancel-in-progress: false
21+
cancel-in-progress: true
1622

1723
jobs:
1824
deploy:
@@ -21,16 +27,32 @@ jobs:
2127
url: ${{ steps.deployment.outputs.page_url }}
2228
runs-on: ubuntu-latest
2329
steps:
24-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v6
2531

26-
- name: Copy assets into docs for Pages
27-
run: cp -r assets docs/assets
32+
- uses: actions/checkout@v6
33+
with:
34+
repository: TMHSDigital/Developer-Tools-Directory
35+
path: _template
36+
sparse-checkout: site-template
37+
38+
- uses: actions/setup-python@v5
39+
with:
40+
python-version: "3.12"
41+
42+
- name: Install dependencies
43+
run: pip install -r _template/site-template/requirements.txt
44+
45+
- name: Build site
46+
run: python _template/site-template/build_site.py --repo-root . --out docs
2847

29-
- uses: actions/configure-pages@v5
48+
- name: Configure Pages
49+
uses: actions/configure-pages@v6
3050

31-
- uses: actions/upload-pages-artifact@v3
51+
- name: Upload artifact
52+
uses: actions/upload-pages-artifact@v4
3253
with:
3354
path: docs
3455

35-
- id: deployment
36-
uses: actions/deploy-pages@v4
56+
- name: Deploy to GitHub Pages
57+
id: deployment
58+
uses: actions/deploy-pages@v5

docs/assets/logo-256.png

-46.6 KB
Binary file not shown.

docs/assets/logo-64.png

-6.18 KB
Binary file not shown.

docs/assets/logo.png

1.33 MB
Loading

docs/assets/og-card.jpg

-113 KB
Binary file not shown.

docs/fonts/inter-bold.woff2

112 KB
Binary file not shown.

docs/fonts/inter-medium.woff2

112 KB
Binary file not shown.

docs/fonts/inter-regular.woff2

109 KB
Binary file not shown.
90.2 KB
Binary file not shown.

docs/index.html

Lines changed: 847 additions & 762 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)