GitHub Integration

# Deploy from GitHub  
Automatically

Connect your GitHub repositories and deploy code to your servers with a simple git push. Build, test, and ship to FTP, SFTP, AWS S3, or any server — automatically.

[Start Free Trial](/signup?cta=Start+Free+Trial)

Works with any GitHub repo

Auto-deploy on push

Free plan available

Last updated on 22nd February 2026

GitHub → DeployHQ

`$
git push origin main``> Webhook received``> Building assets...``> Deploying 12 files via SFTP...``> Deployed successfully ✓`

## Deploying from GitHub Shouldn't Be Manual

Without automation, every deployment means logging in, selecting branches, and uploading files by hand.

Developergit pushGitHubCode received1. Download files manually2. Open FTP client3. Upload changed files4. Hope nothing breaksServerWaiting...Slow, error-prone, and tedious

Without automation, deploying from GitHub means manual downloads, FTP uploads, and crossing your fingers every time.

## Push to GitHub, DeployHQ Does the Rest

DeployHQ connects directly to your GitHub repository and deploys automatically on every push.

Developergit pushGitHubWebhook fireswebhookDeployHQBuild + DeployAutomaticallyServerLive! ✓Push to GitHub → Deployed automatically

## How It Works

Three steps to automated GitHub deployments.

1

 ![GitHub icon](/assets/icons/github-17781d8ffd26b0ad72924962436c7d9a745ac2a98e8f450cfe1f65d218736f97.svg)

### Connect GitHub

Sign in and use the secure repository selector to import your GitHub repo automatically.

2

 ![Server icon](/assets/icons/server-3dea9382c13b5eb86283b34dac5391d37d7daab491d2ab3b3f48fb6c03df33de.svg)

### Add Your Servers

Enter your FTP, SFTP, AWS S3, or other server details. Deploy to multiple servers at once.

3

 ![Rocket icon](/assets/icons/rocket-270a2a2320b804363b0337aa5e6bda7fc7a8d24b928d97ee26961e5bb9225b4f.svg)

### Push and Deploy

Push to GitHub and DeployHQ deploys your changes automatically. Or deploy manually any time.

## Why Deploy from GitHub with DeployHQ

Everything you need for reliable, automated GitHub deployments.

 ![Zap icon](/assets/icons/zap-17eaa1be55c76d539c8ab6b4c667d86fc6478529af6fc62d282cf996beda3fe0.svg)

### Automatic Deployments

A webhook is installed on your GitHub repo automatically. Every push triggers a deployment — no manual steps required.

 ![Container icon](/assets/icons/container-f623abbdcd6c1b186db192d572bfebee815cf8fefc14d6a4acf9a75242a9d350.svg)

### Build Pipeline

Run build commands in an isolated environment. Compile assets with Webpack, Gulp, or any tool — choose your Node, PHP, Ruby version.

 ![Server icon](/assets/icons/server-3dea9382c13b5eb86283b34dac5391d37d7daab491d2ab3b3f48fb6c03df33de.svg)

### Deploy Anywhere

Deploy to FTP, SFTP, AWS S3, DigitalOcean, or any server. Multiple environments and zero-downtime deployments supported.

 ![Lock icon](/assets/icons/lock-48b3d7ebf5f212e8180911da69709706b0e40554862fbd4f7bd4da2edfabfacb.svg)

### Team Permissions

Unlimited users on all paid plans. Control who can deploy to production and restrict deployments by time of day.

Getting Started

## Deploy from GitHub in minutes

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Connect Your GitHub Repository

Use the secure repository selector to import your repo automatically. Deploy 1 project free.

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Configure Your Servers

Add your server details — FTP, SFTP, S3, or SSH. Set up build commands if needed.

 ![Check mark](/assets/icons/tick-01ba7f4740d492a18fbdf4424bf7446c87ddfccbc0157214ad536b11512e914d.svg)

### Enable Auto Deploy

Turn on automatic deployments and push to GitHub. Your code goes live automatically.

[Read the documentation →](https://www.deployhq.com/support/projects/adding-a-project)

GITHUB DEPLOYMENT FLOW$git push origin main✓ PushedGitHub webhook → DeployHQBuilding and deploying 3 files...✓ Deployed to production!

## Frequently Asked Questions

### How do I connect my GitHub repository to DeployHQ?

Connecting your GitHub repository is simple. Sign in to your DeployHQ account, create a new project, and use the secure repository selector. Authorize DeployHQ to access your GitHub account and select the repository you want to deploy. A webhook will be installed automatically on your repo to trigger deployments.

### What happens when I enable automatic deployments?

Once enabled, a webhook is installed on your GitHub repository. Every time you push code to your configured branch, GitHub automatically sends a notification to DeployHQ, which then triggers a deployment to your servers. You can also disable auto-deploy and trigger deployments manually whenever you want.

### What server types does DeployHQ support?

DeployHQ supports deploying to multiple server types including FTP, SFTP, AWS S3, SSH, DigitalOcean, and many others. You can also deploy to multiple servers at once and set up different environments for staging and production. All server credentials are encrypted and securely stored.

### Can I run build commands before deployment?

Yes! DeployHQ includes a powerful build pipeline that runs in an isolated environment. You can execute custom build commands to compile assets with Webpack, Gulp, npm scripts, or any tool. Choose your preferred versions of Node.js, PHP, Python, Ruby, and more. Only changed files are deployed, keeping deployments fast.

## Ready to automate GitHub deployments?

Connect your repository and deploy with a simple git push. It's that easy.

[Start Free Trial](/signup?cta=Start+Free+Trial)

10-day free trial • No setup fees • Cancel anytime

## Explore More Features

Discover all the tools that make DeployHQ the easiest way to deploy your code.

[

### Zero Downtime Deployments
→](/features/zero-downtime-deployments)[

### One-Click Rollback
→](/features/one-click-rollback)[

### Turbo Deployments
→](/features/turbo-deployments)[

### Build Pipelines
→](/features/build-pipelines)[

### Build Cache
→](/features/build-cache)[

### Scheduled Deployments
→](/features/scheduled-deployments)[

### Deployment Availability
→](/features/deployment-availability)[

### Docker Builds
→](/features/docker-builds)[

### Deployment Checks
→](/features/deployment-checks)[

### Deployment Targets
→](/features/deployment-targets)[

### Automatic Deployment
→](/features/automatic-deployments)[

### Deployment Templates
→](/features/deployment-templates)[

### Deploy Behind Firewalls
→](/features/deploy-behind-firewalls)[

### SSH Deployment
→](/features/ssh-deployment)[

### Deployment Zones
→](/features/deployment-zones)[

### Team & Permissions
→](/features/team-permissions)[

### Single Sign-On
→](/features/sso)[

### Custom Actions
→](/features/custom-actions)[

### Server Management
→](/features/server-management)[

### CLI & Agents
→](/agents)[

### Powerful Integrations
→](/features/integrations)

## Get started today for just $9/month

That's unlimited deployments and 3 projects.

[Start your free 10 day trial](/signup?cta=Start+your+free+10+day+trial)
