👷 Add Netlify config

pull/2/head
James Panther 2021-08-24 17:35:26 +10:00
parent ba1a57144b
commit 8d6ae39cf4
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
1 changed files with 15 additions and 0 deletions

15
netlify.toml 100644
View File

@ -0,0 +1,15 @@
[build]
base = "exampleSite"
command = "hugo --minify"
publish = "exampleSite/public"
[build.environment]
HUGO_VERSION = "0.86.1"
HUGO_THEMESDIR = "../.."
HUGO_THEME = "repo"
[context.production.environment]
HUGO_BASEURL = "$URL"
[context.deploy-preview.environment]
HUGO_BASEURL = "$DEPLOY_PRIME_URL"