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.
- Create an application with source type Git Repository.
- Select the provider, repository, and branch.
- 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.
- Open the application.
- Edit settings and toggle Auto-deploy on push.
- 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.
- Deploy from GitHub — Connect GitHub, pick a repository and branch, then build and deploy your app.
- Sample apps (download) — Download Node.js, .NET, or Python sample ZIPs, push to your Git repo, and try a free deploy.
- 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.