Newer
Older
# Netlify settings
[build]
base = "web"
publish = "web/public"
command = """
git lfs fetch
yarn --ignore-engines --ignore-optional --non-interactive &&
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.deploy-preview]
command = """
git lfs fetch
yarn --ignore-engines --ignore-optional --non-interactive &&
hugo -b $DEPLOY_PRIME_URL"""
git lfs fetch
yarn --ignore-engines --ignore-optional --non-interactive &&
hugo -b $DEPLOY_PRIME_URL
node_modules/.bin/hugo-algolia --toml -s"""