Bitbucket on the new Git integration
On the new Git integration, company owners and admins connect their own Bitbucket accounts on Git connections and share chosen repositories with the company. Nothing else in their account is available. A shared repository keeps deploying while the person who shared it is still in the company and can still read it on Bitbucket; share it from more than one account to keep it deploying when one of them leaves. Checking repositories on Git connections adds the Sevalla webhook to Bitbucket repositories that deploy on push. The new Git integration uses two Bitbucket apps:
If you signed in to Sevalla with Bitbucket before, Bitbucket asks you once to grant access to Sevalla auth the next time you sign in.
The rest of this page describes the previous Git integration.
How the Bitbucket connection works
Connect Bitbucket
1
Start from a repository picker
In the sidebar, click Applications, then click Create and Application. Under Source, keep Private repository, pick Bitbucket, then click Connect to Bitbucket. The same button shows when you create a static site or set up preview apps.
2
Grant access on Bitbucket
In the new tab, sign in to Bitbucket if needed. On Confirm access to your account, click Grant access.
3
Go back to Sevalla
Return to the Sevalla tab. It picks up the connection on its own; if it doesn’t, click Check again.



Automatic deployments and the webhook
When you turn on automatic deployments for a service, or preview apps for a pipeline, Sevalla adds a webhook to the Bitbucket repository, or updates the one it added earlier. You can see it in the repository’s Repository settings > Webhooks. Don’t delete it: without it, pushes and pull requests don’t reach Sevalla.Bitbucket lets only repository admins add webhooks. At least one Sevalla user with admin permission on the repository must have connected Bitbucket, or the webhook isn’t added and pushes don’t deploy.
Pull request preview apps
The preview app’s status and link are posted as a comment on the pull request. Bitbucket doesn’t get deployment statuses from Sevalla.
Limitations
Bitbucket pushes don’t include the list of changed files, so deploy paths can’t filter them:Disconnect Bitbucket
On the previous Git integration, you disconnect Bitbucket on Bitbucket: open the App authorizations page (https://bitbucket.org/account/settings/app-authorizations/) and click Revoke next to MyKinsta. My account in Sevalla no longer has a Git login & repository access row.
Sevalla can no longer read your repositories with your account. Services that deploy from repositories that no other connected Sevalla user can access stop deploying. See Revoke repository access.
On the new Git integration, stop sharing repositories or disconnect your Bitbucket account on My account.
If a repository is missing
For deployments that fail because a repository isn’t available anymore, see Troubleshoot builds and deployments.