How to integrate Platform.sh with GitHub, Bitbucket, or GitLab
Notes
While your repository can be either public or private, nothing gets merged until your build and deploy processes are fully tested.
Set up the integration with a single command from the Platform.sh CLI: platform integration:add
.
Supply that command with a few pieces of information about the repository and then follow the steps to configure when environments are deployed.
After that, your Platform.sh project now acts as a mirror for that repository.
Now every pull request becomes a live development environment on Platform.sh that you can run all of your tests on.
When you have merged the pull request and deleted its source branch, Platform.sh mirrors that action and deactivates the environment.
Take a look at the video above to see a full demonstration on how to integrate Platform.sh with GitHub, Bitbucket, or GitLab.