Next.js Integration

Deploy Next.js, One Click

Deploy Next.js static exports with a pre-configured starter template, or use CLI and GitHub Actions for existing projects. Static output served from 90+ global edge locations.

One-Click
Deploy
Static
Export
Actions
GitHub
600+
Edge Locations
Deployment Options

Choose Your Workflow

One-click deploy for new projects, or CLI and GitHub Actions for existing Next.js sites.

Recommended

One-Click Deploy

Deploy a starter template with GitHub Actions pre-configured. Connect your GitHub account and deploy in minutes.

  • Creates repo in your GitHub account
  • Configures secrets and workflows automatically
  • Deploys on every push to main

Deploy Next.js Now

Existing Projects

CLI Deploy

Deploy existing Next.js projects with the Quant CLI. Requires static export configuration.

# Install CLI
npm install -g @quantcdn/quant-cli

# Initialize and deploy
quant init
npm run build
quant deploy out/

CLI documentation

Static Export Required

QuantCDN serves static files. Your Next.js project needs static export enabled in next.config.js:

// next.config.js
module.exports = {
  output: 'export'
}
GitHub Actions

Automated Deployment

Add the deploy action to any existing Next.js project. Build in CI, deploy to edge.

  • Deploy on push to main
  • Chunk-based uploads for speed
  • Automatic cache purge
  • Works with any CI provider
.github/workflows/deploy.yml
name: Deploy to QuantCDN

on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
      - run: npm ci && npm run build

      - uses: quantcdn/deploy-action@v2
        with:
          customer: ${{ secrets.QUANT_CUSTOMER }}
          project: ${{ secrets.QUANT_PROJECT }}
          token: ${{ secrets.QUANT_TOKEN }}
          dir: out
Quant Cloud

Need Server-Side Rendering?

Deploy Next.js 14+ with full App Router SSR on Quant Cloud. Run React Server Components, API routes, and dynamic content.

  • React Server Components
  • API routes and server actions
  • Australian hosted infrastructure
  • Automatic scaling and zero-downtime deploys

Choose Your Deployment

Static Export

Pre-built HTML served from 90+ edge locations. Best for blogs, marketing sites, and content pages.

App Router SSR

Full Next.js with Server Components and API routes. Best for apps needing authentication, databases, or real-time data.

Static Export

Next.js Static Template

Pre-configured for static export with GitHub Actions deployment to QuantCDN.

Cloud App

Next.js SSR Template

Full App Router with Server Components on Quant Cloud.

Deploy Your Next.js Site

One-click deploy for static or SSR. 30-day free trial, no credit card required.

One-click deploy
Static or SSR
GitHub Actions
30-day free trial