Deploying to Netlify
When deploying to Netlify, set:
Base Directory: my-website
Build Command: npm run kontent && npm run build
Publish Directory: build
as well as the environmental variables mentioned in the Add Environmental Variables section.
Automation with Netlify
For more advanced automation and build options, information about leveraging Kentico Kontent webhooks and Netlify build triggers can be seen in the official Kentico Kontent documentation.