Webhook handler that triggers the Axion build pipeline.
{
"package": "homechoice",
"notify": "user@example.com",
"platform": "linux/arm64",
"skip_compile": false,
"skip_deploy": true
}
All fields are optional — defaults to the active package, native
platform, no email, full pipeline.
Configure a Bitbucket webhook to POST to:
https://your-domain/webhook/Build
The build runs asynchronously in a background thread and returns
immediately with {"status": "accepted"}. Results are emailed
via --notify if provided.
{
"status": "accepted",
"package": "homechoice",
"platform": "native",
"trigger": "WEBHOOK"
}