FerryDocs
Guides

Auto-deploy from GitHub

With auto-deploy, each push to a branch on GitHub deploys the services that track it.

Edit on GitHub
git pushto mainGitHubpush eventferryd/hooks/githubNew deploytrigger: webhook

You push a commit to the branch.

1 / 4

When you to a , GitHub sends a push event to the endpoint of Ferry: /hooks/github. Ferry checks the . Then Ferry deploys the of the push for each that tracks this and this branch.

Create a service that deploys on a push

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

is on by default. The server also needs a , and GitHub needs the address of the webhook.

In this section

On this page