Skip to content

Deploy a static site

Deploy your first static site to Quant and get it live on a global CDN. Choose the path that works best for you:

MethodTimeGitHub requiredBest for
Start from a template~2 minYesNew projects — get a working site instantly
Import from GitHub~3 minYesExisting repos — auto-detects your framework
Deploy with the CLI~5 minNoManual control or no GitHub
Manual project setup~10 minOptionalCustom CI/CD pipelines

Create a new site from a ready-to-deploy template. Quant creates a GitHub repository, configures the project, and deploys it for you.

  1. Log into the Quant Dashboard
  2. Go to ProjectsNew ProjectStart from a template
  3. Choose a framework (Astro, Next.js, Hugo, Nuxt, Gatsby, Eleventy, and more)
  4. Connect GitHub if prompted, name your repo, and click Create
  5. Watch the wizard create your repo, set up secrets, and trigger the first deployment

Your site is live in about 2 minutes. Push changes to your new repo to redeploy automatically.

Full template walkthrough →

Already have a static site in a GitHub repository? The import wizard auto-detects your framework and creates a PR with a deployment workflow.

  1. Go to ProjectsNew ProjectImport from GitHub
  2. Select your GitHub installation and choose a repository
  3. Review the auto-detected framework, build command, and output directory
  4. Click Create — the wizard sets up secrets and opens a PR in your repo
  5. Merge the PR to trigger your first deployment

Supports Next.js, Nuxt, Gatsby, Hugo, Jekyll, Astro, Eleventy, VitePress, MkDocs, Docusaurus, and Vite.

Full import walkthrough →

Deploy from your terminal without GitHub. Good for quick tests or projects that don’t use Git.

  • Node.js 20 or later installed
  • A static site ready to deploy (HTML, CSS, JS files in a folder)
  • A free Quant account
  1. Log into the Quant Dashboard
  2. Click New Project in the sidebar
  3. Select Static as the project type
  4. Enter a project name (e.g., my-website)
  5. Click Create

Note your Organisation ID (shown in the URL) and Project name.

  1. With your project selected, go to Integrations in the sidebar
  2. Copy your Project Token — you’ll need this to deploy
Terminal window
npm install -g @quantcdn/quant-cli

Verify the installation:

Terminal window
quant --version

Navigate to your project folder and run:

Terminal window
quant init

You’ll be prompted for your organisation ID, project name, token, and build output directory. Then deploy:

Terminal window
quant deploy

Your site is now live at https://your-project.quantcdn.io.

Terminal window
# Install CLI
npm install -g @quantcdn/quant-cli
# Initialise (interactive)
quant init
# Deploy
quant deploy
# Deploy with revision tracking (faster subsequent deploys)
quant deploy --revision-log .quant-revision

For custom CI/CD pipelines or advanced setups, create a project in the dashboard and configure your own GitHub Actions workflow.

  1. Create a project in the Quant dashboard
  2. Get your deployment credentials from Integrations
  3. Set up GitHub secrets manually
  4. Write a GitHub Actions workflow using the quantcdn/deploy-action

CI/CD setup guide →

The CLI isn’t in your PATH. Try:

Terminal window
npx @quantcdn/quant-cli --version

Or reinstall with npm install -g @quantcdn/quant-cli.

Double-check you copied the full token from the dashboard. Tokens are long strings — make sure you didn’t miss any characters.

Allow 30 seconds for changes to propagate. If files still don’t appear, check that your build directory path is correct in quant.json.