GitHub Integration & Webhook Deployment
Learn how to securely link your GitHub account and configure auto-deploy webhooks.
B A C leverages automated Git Webhooks to provide continuous deployment (CI/CD). Whenever you push updates to your linked repository branch, our staging servers automatically fetch the new code, build dependencies, and update your live app with zero downtime.
Step-by-Step GitHub Webhook Setup
https://officialbac.in/api/webhook/github
application/json
Deployment Cycle Workflow
1. Developer Push
You push new code commits to your main repository branch.
2. Webhook Event
GitHub sends a secure POST request to the B A C ingress webhook URL.
3. Automated Build
B A C pulls the code, installs dependencies, and runs compilers.
4. Hot Swap
The process manager restarts and performs a zero-downtime hot swap.
Webhook Troubleshooting FAQ
Q: GitHub displays a red warning icon next to the webhook?
This indicates a connection failure. Check that the Payload URL is spelled correctly and matches the secure https://officialbac.in/... endpoint. Ensure you did not copy any trailing whitespace.
Q: GitHub says 200 OK, but my application didn't update?
Verify that you pushed commits to the branch configured in your app settings (typically main or master). Pushes to other branches will be filtered out by the router to prevent dev-build leaks.
Q: The build starts but my application goes into stopped state?
This is usually a dependency or build error (e.g. syntax error, missing environment variable, or failed database connection). Navigate to the app details console in the dashboard and open stderr.log to see the exact crash stack trace.