Skip to content
This repository has been archived by the owner on Dec 24, 2021. It is now read-only.

Commit

Permalink
Add netlify.toml file.
Browse files Browse the repository at this point in the history
It makes deploying extremely easy.

Signed-off-by: David Calavera <[email protected]>
  • Loading branch information
calavera committed Aug 10, 2016
1 parent 1845ff9 commit a539fa5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
3 changes: 3 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build]
command = "npm run build"
publish = "dist"

0 comments on commit a539fa5

Please sign in to comment.