Skip to content

User guideDeploying

Deploying on every push

Turn on auto-deploy and Toft rebuilds your app when its branch gets a new commit.

View as Markdown

Turn on Settings → Source & deploys → Auto-deploy on push. New commits on the tracked branch deploy within about a minute.

Only apps built from a git repository can auto-deploy. Apps from the gallery cannot while they are linked to it.

Toft checks each auto-deploying app’s branch on an interval your administrator sets. If your administrator has connected your git host with a webhook, a push triggers that check immediately. Nothing to configure per app.

The head of the tracked branch (and the app’s folder, if set) — the same as selecting Redeploy. It goes through the same source rules and dependency policy as any deploy.

  • The serving deployment stays where it was. The failure appears in the app’s events.
  • Toft does not retry the same commit. Push a fix, or select Redeploy.
  • A locked app refuses auto-deploys like any other deploy.

Auto-deploy does not run tests. If a push should pass checks first, have your CI run toft deploy or toft redeploy at the end, with a deploy key.