ci: ship built UI only and fix webhook workflow

The release package excluded nothing under web/, so releases carried
the vite source, package manifests and configs. Ship web/dist and
web/public only, matching the 0.13.4 asset layout.

The webhook workflow linked to the old The-Order-Of-The-Sacred-Framework
URL, which now only 301s; point it at the current repo's latest
release. It reads just the event payload, so the checkout and jq
install steps were removed and permissions narrowed to contents: read.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
MrNewbandClaude Fable 5 committed 2026-08-01 01:35:42 -04:00
1 parent 94620315c6
commit 55e7aae424
2 files changed
+13 -8

No files matched your search

+7 -1
View File
@@ -84,7 +84,7 @@ jobs:
- name: Prepare release package
run: |
RELEASE_ROOT="release/community_bridge"
mkdir -p "$RELEASE_ROOT"
mkdir -p "$RELEASE_ROOT/web"
rsync -a \
--exclude '.git' \
@@ -93,8 +93,14 @@ jobs:
--exclude '.github' \
--exclude 'release' \
--exclude 'node_modules' \
--exclude 'web' \
./ "$RELEASE_ROOT/"
# Pre-built web/dist/ is committed; ship the built UI only and leave
# the vite source and tooling (src/, package.json, configs) behind.
rsync -a web/dist/ "$RELEASE_ROOT/web/dist/"
rsync -a web/public/ "$RELEASE_ROOT/web/public/"
- name: Create zip archive
run: |
cd release