003 - Working with Netlify

Date: May 20th 2020

After setting up a basic website, I wanted to have it continuabously deploy to my domain from the Master branch. This would allow me to update and test features while keeping experiments and tests off to side branches. Using Netlify this was easy to conenct to my Github Repo which could then be updated with a single click.

I created a netflify.toml file in the root directory with:

[build] command = "npm run build && npm run export" publish = "out"

With this, each time I push a commit to my Git Repo it is automatically updated on netlify.