CI/CD & Git Integration
Git Providers
Section titled “Git Providers”Connect GitHub, GitLab, or Bitbucket to enable automatic deployments:
- Go to Settings → Git Apps.
- Install the Vessl GitHub App, or configure a GitLab / Bitbucket App.
- Grant repository access to the repos you want to deploy.
Automatic Deployments
Section titled “Automatic Deployments”Once connected, every push to the configured branch triggers a new deployment:
- Vessl receives the webhook.
- Clones the latest commit.
- Builds a new container image.
- Runs a health check on the new container.
- Swaps traffic to the new container (zero-downtime).
- Cleans up the old container.
Manual Deploy
Section titled “Manual Deploy”Trigger a deployment from the dashboard or CLI:
curl -X POST /api/projects/:id/deploy \ -H "Authorization: Bearer vpt_xxx"Webhooks
Section titled “Webhooks”Configure outgoing webhooks for deployment events:
deployment.starteddeployment.completeddeployment.failed
Webhooks can notify external services, chat platforms, or your own automation.
PR Previews
Section titled “PR Previews”When a pull request is opened against your connected repository, Vessl can spin up an ephemeral preview environment. The webhook triggers a new deployment on the PR branch, and a comment is added to the PR with the preview URL.