Update Netlify config

This commit is contained in:
Gabriel Arazas 2023-04-25 00:18:11 +08:00
parent 51932c7a8e
commit 6c48ab1dac
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -7,8 +7,12 @@ HUGO_BASEURL = "$DEPLOY_URL"
[context.branch-deploy]
command = "make build-draft -e"
environment.HUGO_BASEURL = "$DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
HUGO_BASEURL = "$DEPLOY_PRIME_URL"
[context.deploy-preview]
command = "make build-draft -e"
environment.HUGO_BASEURL = "$DEPLOY_PRIME_URL"
[context.deploy-preview.environment]
HUGO_BASEURL = "$DEPLOY_PRIME_URL"