+234 814 007 4714 [email protected]
Next.js

Your Next.js site, on your own domain.

Your GitHub workflow builds a static export of your site, and NG Domain's GitHub Action publishes it to your domain, with every version kept.

From ₦19,900 a year

See plans

Plans and prices

  • Sites Starter Upload a folder or ZIP, deploy from GitHub with our Action, or publish from any CI with a deploy token. It's the same plan whichever you choose. 1 GB · up to 10,000 files of 25 MB each · 1,000,000 requests a month

    ₦19,900a year

Your own GitHub workflow builds the site, so any static generator works, including Next.js static export, Hugo and Eleventy. Pages that render on request, API routes and middleware aren't supported yet.

Every plan is paid yearly by card and renews automatically. Prices exclude 7.5% VAT.

How it works

Deploy from GitHub in three steps.

1 Export a static site
Set output to 'export' in your Next.js config, so next build writes the site to the out folder.
2 Add our Action to your workflow
After the build, run NG Domain's Action with the out folder and your site's deploy token, saved as the repository secret NGDOMAIN_DEPLOY_TOKEN.
3 Push
Each push publishes a new version. Build errors show in your own GitHub log.

The end of your workflow

- run: npm ci && npm run build
- uses: justiceo/ngdomain-deploy-action@v1
  with:
    token: ${{ secrets.NGDOMAIN_DEPLOY_TOKEN }}
    directory: out
FAQ

Common questions

Do server-rendered pages work?

Not yet. Sites serves a static export, so pages that render on request, API routes and middleware aren't supported.

Where does my site build?

In your own GitHub Actions workflow, so you choose the Node.js version and see every build's log. NG Domain runs no build service.

Do I need GitHub?

No. You can upload the out folder from your dashboard, or publish from any CI with a deploy token.

Report abuse of a site we host to [email protected]. Hosting follows our Acceptable Use Policy and Hosting Terms.