forked from EclipseFdn/hugo-solstice-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
17 lines (13 loc) · 675 Bytes
/
netlify.toml
File metadata and controls
17 lines (13 loc) · 675 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[build]
command = "npm run production && npm run fetch_project && hugo --gc --minify -b $URL --themesDir ../../ --source exampleSite"
publish = "exampleSite/public"
[build.environment]
HUGO_THEME = "repo"
HUGO_VERSION = "0.62.2"
HUGO_ENABLEGITINFO = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "npm run production && npm run fetch_project && hugo --gc --minify --buildFuture -b $DEPLOY_PRIME_URL --themesDir ../../ --source exampleSite"
[context.branch-deploy]
command = "npm run production && npm run fetch_project && hugo --gc --minify -b $DEPLOY_PRIME_URL --themesDir ../../ --source exampleSite"