Auto-deploy guide

Set up auto-deploy on push for your AI-built app

After the initial deploy, you want every push to main to automatically update production. This covers webhook setup, deploy triggers, and rollback.

What is probably broken

Every deploy requires manual steps on the server. You want push-to-deploy like Vercel but on your own infrastructure.

What production should look like

Automatic deployment on every push to main with build logs, error notifications, and rollback capability.

STEP 01

Choose a deploy trigger

Decide how the server will know when to deploy.

  • Use a GitHub webhook to trigger deploys on push.
  • Use your deploy panel built-in git integration.
  • Or use a polling-based approach if webhooks are not available.

STEP 02

Configure the deploy pipeline

Set up the steps the server takes when a new commit arrives.

  • Pull the latest code from the main branch.
  • Install dependencies and run the production build.
  • Restart the app process with zero downtime if possible.

STEP 03

Add notifications and rollback

Know when deploys succeed or fail, and be able to roll back.

  • Send deploy notifications to email, Slack, or Discord.
  • Keep the last 3 builds available for instant rollback.
  • Test the rollback path before relying on it.

Quick check

Is your app production-ready?

If you cannot tick all five, we can fix it. Send us the repo and we handle the rest.

  • ?Custom domain with HTTPS
  • ?Environment variables configured
  • ?Database wired and backed up
  • ?Auto-deploy on push
  • ?Smoke tested and live

Free checklist

Deploying this yourself?

Get the exact 5-step checklist we run before every deploy. No fluff, just the things that actually break.

No spam. Your email is only used to send the checklist.

Done-for-you deploy

RepoAssistant sets up auto-deploy on push with notifications and rollback during production deployment.

Fixed price per repo. 24h delivery or full refund. No hourly billing.

Deploy my app

Related guides