Try to update netlify.toml

This commit is contained in:
Vincent Prouillet 2018-01-26 16:32:29 +01:00
parent 24fad7a5e8
commit fa8a2bfb2a

View file

@ -1,8 +1,10 @@
[build]
base = "docs"
publish = "docs/public"
command = "curl -sL https://github.com/Keats/gutenberg/releases/download/v0.2.1/gutenberg-v0.2.1-x86_64-unknown-linux-gnu.tar.gz | tar zxvf - && /opt/build/repo/docs/gutenberg build"
command = "gutenberg build"
[build.environment]
GUTENBERG_VERSION = "0.3.1"
[context.deploy-preview]
command = "curl -sL https://github.com/Keats/gutenberg/releases/download/v0.2.1/gutenberg-v0.2.1-x86_64-unknown-linux-gnu.tar.gz | tar zxvf - && /opt/build/repo/docs/gutenberg build --base-url $DEPLOY_PRIME_URL"
command = "gutenberg build --base-url $DEPLOY_PRIME_URL"