Skip to content

Instantly share code, notes, and snippets.

@Ch4s3
Last active August 29, 2015 14:20
Show Gist options
  • Save Ch4s3/471cf3d2f966c09a54de to your computer and use it in GitHub Desktop.
Save Ch4s3/471cf3d2f966c09a54de to your computer and use it in GitHub Desktop.

To deploy from Codeship on Aptible, we recommend the following approach:

  1. Create a “Robots” role in your Aptible organization, and grant it “Read” and “Manage” permissions on your production account.
  2. Invite a new deploy user to this Robots role. It needs to have a real email address, but can be something like [email protected].
  3. Accept the invitation for [email protected], activate the account.
  4. Get the Codeship SSH public key from your project's general settings tab and add it to the SSH keys for the Robot user from step 3.
  5. Add a custom deploy step, following Codeship’s instructions. It should look something like:

git push [email protected]:${APTIBLE_APP}.git ${CI_COMMIT_ID}:master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment