Docs/Auto-deploy on push

Auto-deploy on push

Turn on Auto-deploy so HostKB builds and deploys when you push to the branch linked to your application.

Enable when creating an app

Only available for Git Repository sources.

  1. Create an application with source type Git Repository.
  2. Select the provider, repository, and branch.
  3. Leave Auto-deploy on push enabled if you want pushes to that branch to start builds (and deploy) for you.

Enable or change later

Update the setting from the application page.

  1. Open the application.
  2. Edit settings and toggle Auto-deploy on push.
  3. Save. Confirm the linked branch is the one you intend to ship from.

What happens on each push

  • A build starts for the selected branch (watch Builds for live logs).
  • When the build succeeds, deployment proceeds according to auto-deploy behavior.
  • You can still open Deployments and click Deploy manually when you change env vars or need a refresh without a new commit.
  • If a build fails, fix the repo or config, push again (or start a build from the UI), then verify logs.

Related guides

  • Getting started — Create projects and apps, set environment variables, then build and deploy from the UI.
  • What is HostKB Cloud? — HostKB Cloud is a free hosting and deployment platform — deploy apps from Git with HTTPS and logs.
  • Free app hosting — Free hosting for Node.js, Python, .NET, Java, React, Angular, Next.js, Vue, PHP, and Docker apps.
  • Free deployment platform — Free deployment platform to deploy apps from Git — builds, HTTPS, domains, and auto-deploy.
  • Free PostgreSQL — Free managed PostgreSQL database on HostKB — 1 GB, PostgreSQL 16/17/18, TLS connection strings.
  • Deploy from GitHub — Connect GitHub, pick a repository and branch, then build and deploy your app.
  • First deploy — Deploy your own Node.js, .NET, or Python app from Git on HostKB — no sample downloads.
  • Custom domains & HTTPS — Attach your own domain, point DNS, and serve your app over automatic HTTPS.
  • Environment variables — Add app and project variables, mark secrets, and redeploy so the live app picks them up.
  • Build & deploy logs — Watch real-time build and deployment logs to troubleshoot releases on HostKB Cloud.
  • App sizes & scaling — Choose the right application size for CPU and memory, then upgrade as your workload grows.