diff options
| author | David Calavera <david.calavera@gmail.com> | 2016-08-09 17:06:10 -0700 |
|---|---|---|
| committer | David Calavera <david.calavera@gmail.com> | 2016-08-09 17:06:10 -0700 |
| commit | a539fa51edf0bbff97fe180807be8033e00a820c (patch) | |
| tree | 64dc44a3214b576c51b8d6bbdd208764e2b16c6a | |
| parent | 1845ff926a286d6f56e0c0d0c82e9c5b4f742270 (diff) | |
Add netlify.toml file.
It makes deploying extremely easy.
Signed-off-by: David Calavera <david.calavera@gmail.com>
| -rw-r--r-- | README.md | 7 | ||||
| -rw-r--r-- | netlify.toml | 3 |
2 files changed, 5 insertions, 5 deletions
@@ -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. diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..efcfd06 --- /dev/null +++ b/netlify.toml @@ -0,0 +1,3 @@ +[build] +command = "npm run build" +publish = "dist" |
