Skip to content

Connect a repository

Link a managed Node.js, Python, or Dockerfile site to a GitHub repository branch.

Who can use this page? Site Managers with access to the site and an assigned GitHub installation. Ask NitHost support if the integration is unavailable.

Prerequisites

  • GitHub deployment integration available on your hosting service
  • Your GitHub account has the App installed on the target repository
  • Site type is Node.js, Python, or Dockerfile App

Connect

  1. Open the site → Site Actions → Git Deployment
  2. Select:
    • Installation
    • Repository
    • Deployment branch (e.g. main)
    • Application root (monorepo subdirectory)
    • Health-check path (unauthenticated non-5xx)
  3. Set build/start fields as needed for your stack
  4. Save
  5. Run the first deployment manually

After the first success

  • With Auto deploy on, pushes to the selected branch trigger builds
  • Watch deployment history for status, logs, and commit SHA
  • Failed health checks roll back automatically

Webhooks

If a push does not deploy:

  1. Confirm Auto deploy is enabled and the push went to the selected deployment branch.
  2. Open deployment history and check whether a deployment started or failed.
  3. Confirm the connected installation still has access to the repository.
  4. If no deployment appears, contact NitHost support with the site, repository, branch, commit SHA, and push time. Do not send access tokens or private keys.

Customer documentation · Nusite IT Consulting Limited