Private repositories
Ferry needs read access to clone a private repository. There are three ways to give it.
A connected account
Connect your GitHub account to the server. You authorize it on a page of GitHub. This makes a git connection.
Then Ferry clones the repositories of the account with the account. This applies to each method that creates a service. The URL has no credentials.
HTTPS with a token
Put a GitHub personal access token in the URL. The token needs read access to the contents of the repository.
https://USERNAME:TOKEN@github.com/you/apiFerry keeps the credentials out of the build logs and the error messages. It gives them to git through the environment, not through the command line.
SSH
Use the SSH URL. Give the user that runs ferryd an SSH key that GitHub accepts, for example a deploy key.
git@github.com:you/api.gitGit runs in batch mode. It accepts the host key at the first connection.