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.
Operator checklist
Section titled “Operator checklist”- Back up database and server configuration.
- Confirm workflow secrets and target host/path.
- Run tests and PHP syntax checks on the exact commit.
- Apply migrations before serving new code.
- Run
apache2ctl configtestbefore restart. - Verify portal, admin, agent login, API health, cron workers, SIP registration, and a controlled call.
- 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.