This guide explains how to deploy your project to platform.sh. It assumes that you have already set up the platform project correctly.
In order to deploy your repository, Scrutinizer needs to have an ssh key associated with your platform.sh account. Currently, keys can only be attached to private repositories.
Once the SSH key is properly installed on both Scrutinzer and platform.sh, you can simply add the platform remote and push
to platform.sh. Below is a sample configuration, simply replace
PROJECT-ID with your platform.sh project id and
cluster with the region, either
build: deployment: - branch: master # you can use either the full branch name, branch: feature_* # an asterisc for e.g. any feature branches branch: /feature_.*/ # or the same as a regular expression commands: - git remote add platform [PROJECT-ID]@git.[CLUSTER].platform.sh:[PROJECT-ID].git - git push platform master