This commit is contained in:
commit
0ba9b9f95c
17 changed files with 705 additions and 0 deletions
32
README.md
Normal file
32
README.md
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
# git-webhooks
|
||||
|
||||
Containerized Bun service for GitHub and jojo.build webhooks.
|
||||
|
||||
## Endpoints
|
||||
|
||||
```text
|
||||
GET /healthz
|
||||
POST /git-webhooks/jojo
|
||||
POST /git-webhooks/github
|
||||
```
|
||||
|
||||
## Environment
|
||||
|
||||
```text
|
||||
HOST=0.0.0.0
|
||||
PORT=3000
|
||||
DATA_DIR=/app/data
|
||||
JOJO_WEBHOOK_SECRET=...
|
||||
GITHUB_WEBHOOK_SECRET=...
|
||||
```
|
||||
|
||||
## Development
|
||||
|
||||
```bash
|
||||
bun install
|
||||
bun run check
|
||||
bun run dev
|
||||
```
|
||||
|
||||
Accepted webhook events are appended to `DATA_DIR/events.jsonl`; queued work
|
||||
items are appended to `DATA_DIR/jobs.jsonl`.
|
||||
Loading…
Add table
Add a link
Reference in a new issue