Guides
Auto-deploy from GitHub
With auto-deploy, each push to a branch on GitHub deploys the services that track it.
You push a commit to the branch.
1 / 4
When you push to a branch, GitHub sends a push event to the webhook endpoint of Ferry: /hooks/github. Ferry checks the signature. Then Ferry deploys the commit of the push for each service that tracks this repository and this branch.
Create a service that deploys on a push
ferry create api --repo https://github.com/you/api --branch main --followAuto-deploy is on by default. The server also needs a webhook secret, and GitHub needs the address of the webhook.