Add Forgejo edit/refresh sync path for space content (T05)

Keep git as source of truth: deep-link to Forgejo editor, manual refresh to
drop cache, and optional signed push webhook for automatic invalidation.
This commit is contained in:
tegwick 2026-08-12 03:29:26 +02:00
parent 9c10037f34
commit 3f30bcd340
9 changed files with 458 additions and 5 deletions

View file

@ -77,3 +77,20 @@ When Bubble can retire:
make test
make run # offline or local OIDC redirect
```
## Space content (Forgejo)
See `docs/spaces-content.md`. Demo:
```bash
kubectl -n coulomb-social exec deploy/coulomb-social -- python manage.py seed_demo_space
```
Optional webhook secret (when configured in cluster env):
| Key | Purpose |
|-----|---------|
| `FORGEJO_WEBHOOK_SECRET` | Push webhook cache bust |
| `FORGEJO_TOKEN` | Private repo raw/API reads |
Webhook URL: `https://app.coulomb.social/app/spaces/hooks/forgejo/`