Docs

Learn

v.Latest
Documentation
Deploying to Netlify
Table of Contents

Build Configuration

In Netlify, your build configuration can be updated at Settings > Build & Deploy > Build Command.

Netlify build config
Figure: Netlify build config

If your package.json has a "build" script like tinacms build && <your-site-build-cmd>, this likely doesn't need to be changed. If your Netlify config is not running a custom build script (e.g next build), you would have to change this to tinacms build && next build
If your project has a netlify.toml with a build command set, that will take precedence over the above build command UI

Environment variables

Assuming that your Tina clientID and token are setup as environment variables, you will need to add those to the Netlify UI for your project. You can learn more about environment variables here.

Join the Herd!

Become part of our coding comunity and stay updated with the latest tips and news.