forked from kubernetes/contributor-site
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
19 lines (14 loc) · 992 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[build]
publish = "build/public"
command = "python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' && ./gen-site.sh"
[build.environment]
HUGO_VERSION = "0.49"
HUGO_BUILD = "true"
[context.production.environment]
HUGO_ENV = "production"
[context.deploy-preview]
command = "python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' && ./gen-site.sh -b $DEPLOY_PRIME_URL"
[context.branch-deploy]
command = "python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' && ./gen-site.sh -b $DEPLOY_PRIME_URL"
[context.branch-deploy.environment]
command = "python -c 'import os,sys,fcntl; flags = fcntl.fcntl(sys.stdout, fcntl.F_GETFL); fcntl.fcntl(sys.stdout, fcntl.F_SETFL, flags&~os.O_NONBLOCK);' && ./gen-site.sh -b $DEPLOY_PRIME_URL"