FerryDocs
ConceptsServices

A git repository

Ferry clones the repository, checks out the branch and builds the code.

Edit on GitHub
YouRepositorybranch mainFerrycloneImage

Ferry clones the repository and checks out the branch.

1 / 3

Create a service from a repository

Terminal
ferry create api --repo https://github.com/you/api --branch main

--repo is the URL of the . The default is main.

Which commit Ferry builds

A deploy builds the newest of the branch. To build an exact commit, give its SHA.

Terminal
ferry deploy api --commit <sha>

Auto-deploy

is on by default. If you set up the GitHub webhook, a push to the branch deploys the service. To turn it off, use --no-auto-deploy.

On this page