Deploy to Scalingo from Semaphore

To setup Continuous Deployment from Semaphore to Scalingo, please follow the official guide which will take you through the mandatory steps. This documentation page adds some information for the step 3 Write your deploy commands of the Semaphore guide.

Setup Deploy Commands

# Add Scalingo as a known host
ssh-keyscan -H >> ~/.ssh/known_hosts

The SSH port and host actually depend on the region of your application:

  • osc-fr1:
  • osc-secnum-fr1:
# Push the branch you've setup on Semaphore
git push --force $BRANCH_NAME: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

SSH Keys

To deploy to Scalingo from Semaphore, you’ll have to add your private key to the Semaphore interface. You will also need to add the public key to the SSH Keys page on the Scalingo Dashboard.

We recommend to generate a new key pair for integrating Semaphore with Scalingo.

Suggest edits

Deploy to Scalingo from Semaphore

©2024 Scalingo