DevOps
Coolify Auto-Deploy from GitHub (CI/CD Setup)
Last updated: 4/20/2026
Two Integration Methods
Method 1: GitHub App (Recommended)
If Coolify is connected via a GitHub App, auto-deploy works automatically.
To enable Auto Deploy:
- Application → Advanced tab
- Enable the Auto Deploy toggle
Every git push to the configured branch triggers a deployment automatically.
Method 2: Manual Webhook
- Coolify → application → Webhooks tab, copy the Webhook URL
- GitHub: repository → Settings → Webhooks → Add webhook
- Paste the URL, Content-Type:
application/json, select "push event"
Granting Repository Access (GitHub App method)
If a repository doesn't appear in Coolify's dropdown:
- GitHub → Profile → Settings → Integrations → GitHub Apps
- Find your Coolify app → Configure
- Under Repository access, add the specific repository
- Save
What Happens on Each Push
- GitHub notifies Coolify via webhook
- Coolify fetches latest code from the configured branch
- Nixpacks/Docker builds a new image using the install + build commands
- New container starts (rolling update — zero downtime)
- Old container stops
Full logs are visible in Coolify → application → Deployments tab.