- Creating a new environment when a branch is created or a pull request is opened.
- Rebuilding the environment when new code is pushed to Bitbucket.
- Deleting the environment when a pull request is merged.
Source integrations
Integrate with Bitbucket
See how to manage your Upsun environments directly from your Bitbucket repository.
If you have code in a Bitbucket repository, you might want to connect it to an Upsun project.
This means you can keep your Bitbucket workflows
and treat the Bitbucket repository as the source of truth for your code.
Your Upsun project becomes a mirror of your Bitbucket repository.
This means you shouldn’t push code directly to Upsun.
Any changes you push directly get overwritten by the integration when changes happen in the Bitbucket repository.
When you set up an integration with Bitbucket, it automates the following processes for you: