After setting up a basic website, I wanted it to deploy to my domain automatically from the master branch. This would allow me to update and test features while keeping experiments and tests on side branches. Netlify made it easy to connect my GitHub repository.
This was the netlify.toml file in the root of the original site:
[build]
command = "npm run build && npm run export"
publish = "out"With this setup, pushing a commit to the master branch automatically updated the site on Netlify.