Fix missing Netlify configuration

This commit is contained in:
Luiz de Prá 2018-10-04 13:24:43 -03:00
parent dcefc200ee
commit 9a8cd08b92
1 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
[build] [build]
publish = "demo/public" publish = "demo/public"
command = "make prepare && hugo --source demo" command = "make prepare && hugo --source demo --baseURL $URL"
[context.production.environment]
HUGO_VERSION = "0.49"
[context.deploy-preview] [context.deploy-preview]
command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL" command = "make prepare && hugo --source demo --buildFuture --buildDrafts --baseURL $DEPLOY_PRIME_URL"