You'll need about one minute to read this article.
Some builds require access to other private repositories for example to use as a dependency. Codeship creates a SSH key pair for each project when you first configure it. You can view the public key on the General page of your project settings and it gets automatically added as a deploy key to your GitHub or BitBucket repository.
If you need access to other (private) repositories besides this main repository, you need to follow these steps:
Even though we reference only GitHub above, the procedure is the same when your project is hosted on BitBucket.
As an alternative you can also add the SSH key from the Codeship project to your personal GitHub / BitBucket user account instead of a machine user. Keep in mind that this will allow the project to access any repository which you are allowed to access on those services.
remote: Repository not found
fatal: Could not read from remote repository
Permission denied (publickey).
Please make sure you have the correct access rights and the repository exists. Clone of 'firstname.lastname@example.org:username/reponame.git' into submodule path 'path' failed
We also have a couple of code examples and sample projects available, that make it easier to get started with Codeship.