Skip to content

Commit

Permalink
netlify toml added
Browse files Browse the repository at this point in the history
  • Loading branch information
jpiaskowski authored Oct 26, 2023
1 parent a46099d commit 632aa34
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Site settings

baseurl = "https://idahoagstats.github.io/wave/"
baseurl = "/"
#"https://idahoagstats.github.io/wave/"
languageCode = "en-us"
title = "WAVE"
theme = "hugo-highlights-theme"
Expand Down
22 changes: 22 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[build]
command = "hugo --gc --minify -b $URL"
publish = "public"

[build.environment]
HUGO_VERSION = "0.86.0"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
HUGO_ENV = "production"

[context.deploy-preview]
command = "hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL"

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

[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
debug = true

0 comments on commit 632aa34

Please sign in to comment.