Skip to content

Deployment

The repository’s production workflow deploys pushes to main through GitHub Actions. It installs audited dashboard dependencies, uploads the repository with secrets and generated state excluded, applies communications/e-sign/billing/AI migrations, publishes classic and modern web roots, validates selected release artifacts, checks Apache configuration, and applies runtime telephony fixes.

Required deployment material is stored as GitHub secrets or server-side .env; modern/.env is explicitly excluded from rsync. Signup preflight validates required GHL and Resend settings before publication.

  1. Back up database and server configuration.
  2. Confirm workflow secrets and target host/path.
  3. Run tests and PHP syntax checks on the exact commit.
  4. Apply migrations before serving new code.
  5. Run apache2ctl configtest before restart.
  6. Verify portal, admin, agent login, API health, cron workers, SIP registration, and a controlled call.
  7. Keep rollback artifacts and database migration notes.

LiveKit has a separate Docker/binary deployment guide under deploy/livekit/.

Implementation anchors: .github/workflows/deploy.yml, deploy/apply-runtime-fixes.sh, deploy/livekit/README.md.