---
title: "Discussion on \"Netlify CMS & Next.js Series - Deploy\" | Hashnode"
description: "Discussion on \"Netlify CMS & Next.js Series - Deploy\". We're finally ready to deploy our site to Netlify!\nNetlify.toml\nMake a file at the top level of your directory called netlify.toml, and fill it with:\n[build]\n  command = \"npm run build && npm run export\"\n  publish = \"out\"\nThe command here is referrin..."
url: "https://hashnode.com/posts/netlify-cms-and-nextjs-series-deploy/5fa581a854cc5b4ad931e11c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Netlify CMS & Next.js Series - Deploy](https://blog.justinramel.com/netlify-cms-and-nextjs-series-deploy?utm_source=hashnode&utm_medium=feed)

We're finally ready to deploy our site to Netlify! Netlify.toml Make a file at the top level of your directory called netlify.toml, and fill it with: \[build\] command = "npm run build && npm run export" publish = "out" The command here is referrin...

Nov 6, 2020 · 2 min read · blog.justinramel.com  
Read the article

-   [#nextjs](https://hashnode.com/tag/nextjs)
-   [#netlify](https://hashnode.com/tag/netlify)
-   [#headless-cms](https://hashnode.com/tag/headless-cms)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Justin Ramel](https://hashnode.com/@JustinDev)

@JustinDev · Newcastle upon Tyne, England,

  
[View profile](https://hashnode.com/@JustinDev)

Full Stack Senior Developer

Senior Full-Stack Developer with over 20 years of experience building web applications for startups, government, and higher education.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
