Next.js

Portal

  1. Create project → connect Git repo with a Next.js app.
  2. Auto-detect usually sets build npm run build / start npm run start.
  3. Set env vars (DATABASE_URL, NEXTAUTH_SECRET, etc.).
  4. Deploy → wait for healthy.

CLI

deployon init --connect --create
deployon deploy --push --wait

Tips

  • Ensure package.json has build and start scripts.
  • For standalone output, configure Next accordingly and set the correct start command.
  • Mark build-time NEXT_PUBLIC_* vars as build args when required at build.