Store your code in a linked third-party repository for your Platform.sh project. You can integrate to Bitbucket, GitHub, GitLab or create a custom integration.
To set up the integration, follow the general steps:
- Get access token to the external repository (token/key/secret)
- Add the Platform.sh integration with all configuration
- Validate integration to make sure it is set up properly
When using these integrations, avoid pushing code directly to Platform.sh as it gets overwritten by changes in the external repository.
For further details, please check specific steps for third-party repository: