Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
560 B
560 B
Admin deployment
- Point the DNS record for
backoffice.ghabilee.irto the production VPS. - Create
/opt/ghabilee-admin/.envfrom.env.exampleand set production values. - Configure the reverse proxy to forward
backoffice.ghabilee.irto127.0.0.1:3009and enable TLS. - Push to
main(or run the deploy workflow manually) after the environment is ready.
GitHub secrets checkpoint
Deployment requires VPS_HOST, VPS_USER, and VPS_SSH_KEY. The repository owner will add these GitHub Actions secrets later, before the first deployment.