Add netlify.toml file.

It makes deploying extremely easy.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera 2016-08-09 17:06:10 -07:00
parent 1845ff926a
commit a539fa51ed
No known key found for this signature in database
GPG Key ID: DE3D437CCBECE2C4
2 changed files with 5 additions and 5 deletions

View File

@ -65,11 +65,8 @@ to `/dist/css/{filename}.css`. Import statements will be resolved as part of the
## Deploying to netlify
Push your clone to your own GitHub repo, then start a new Netlify project, pick
your repository and configure it like this:
* **Build Command:** npm run build
* **Directory:** dist
- Push your clone to your own GitHub repository.
- [Create a new site on Netlify](https://app.netlify.com/start) and link the repository.
Now netlify will build and deploy your site whenever you push to git.

3
netlify.toml Normal file
View File

@ -0,0 +1,3 @@
[build]
command = "npm run build"
publish = "dist"