Skip to content

Commit

Permalink
Add netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
Track3 committed Jun 19, 2019
1 parent 41f77a9 commit c05698c
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[build]
base = "exampleSite"
command = "hugo --gc --themesDir ../.. -b $URL"
publish = "exampleSite/public"

[build.environment]
HUGO_THEME = "repo"

[context.deploy-preview]
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"

[context.branch-deploy]
command = "hugo --gc --themesDir ../.. -b $DEPLOY_PRIME_URL"

0 comments on commit c05698c

Please sign in to comment.