To deploy with Git you’ll have to create a new application on Scalingo. A Git repository will be automatically created. Every push on the master branch of this repository will trigger a new deployment.
How to Create an App
# Create app with the CLI (or create one from the dashboard) scalingo create my-app # Setup the Git remote: git remote add scalingo firstname.lastname@example.org:my-app.git # Deploy your app: git push scalingo master
Deploy with Another Branch than Master
If you want to deploy another branch than master:
# Here we want do deploy 'mybranch' which is a local branch git push scalingo mybranch:master
Deploy a Previous Version of an App
If you want to deploy a version of your code that is not the current head of master, you first need
to get the commit ID with
git log. Then:
git push --force scalingo <commit ID>:master
Git Authentication and SSH
The Git server created by Scalingo uses SSH authentication. If you have any problem setting up SSH please read Troubleshooting
git push and SSH common issues.