Skip to content

Commit

Permalink
Configure repo for Netlify
Browse files Browse the repository at this point in the history
Tell git to ignore rendered files and _site/ folder; tell netlify to
deploy _site/ when deploying with `netlify deploy`
  • Loading branch information
mikemc committed Feb 25, 2021
1 parent bce876f commit 670a684
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
_data/
_notes/

# Rendered site
_site/

# Results from rendering posts
*.html
*_cache/
*_files/

# Local Netlify folder
.netlify
2 changes: 2 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[build]
publish = "_site/"

0 comments on commit 670a684

Please sign in to comment.