Deploy to Scalingo from Codeship
To setup Continuous Deployment from Codeship to Scalingo, please follow the following steps. You can read more about Deployment Pipelines on the Codeship documentation.
Setup a Deployment Pipeline
On Codeship:
- Go to the Deployment page of your project.
- Add a new deployment pipeline by choosing the branch you want to deploy from.
- Choose Custom Script deployment type.
- Fill the deployment commands:
git fetch --unshallow || true
git push --force git@ssh.osc-fr1.scalingo.com:my-app.git ${CI_COMMIT_ID}:master
Note that the remote URL depends on the region of your application. You can get it using our CLI with:
scalingo --app my-app git-show
Or you can use the deployments/git_push.sh script provided by Codeship.
SSH Keys
To deploy to Scalingo from Codeship, you’ll have to add the public key generated by Codeship to the SSH Keys page on Scalingo dashboard. You can find this public key in the General page of your Codeship project.
Last update: 29 Apr 2020
Suggest edits