Back to documentation
CI/CD & Auto-Deploy

Setting Up Auto-Deploy

Automatically deploy your application when you push code to GitHub.

Intermediate5 min readUpdated 2024-02-01

What is auto-deploy?

Auto-deploy automatically redeploys your app when:

  • You push code to your configured branch
  • A workflow completes successfully
  • You manually trigger a deployment

No need to click "Deploy" every time you make changes.

Enabling auto-deploy

  1. Open your app's settings
  2. Go to the CI/CD tab
  3. Toggle "Auto-Deploy" on
  4. Select the branch to monitor
  5. Configure polling interval (or use webhooks)

How it works

Server Compass checks for changes:

  1. Polls your repository at configured intervals
  2. Detects new commits on your branch
  3. Triggers a new build and deployment
  4. Notifies you of success or failure

Zero-downtime deployment

Auto-deploy uses zero-downtime strategy:

  1. New container starts alongside existing
  2. Health checks verify new container
  3. Traffic switches to new container
  4. Old container gracefully stops

Screenshots

Setting Up Auto-Deploy - Screenshot 1

Screenshots may vary slightly from the current version

Video Tutorials

Related Features

Ready to try Server Compass?

Download the app and deploy your first application in under 5 minutes. No terminal knowledge required.