From fa8a2bfb2a9920a906f0c2f80226fbdc934dfea7 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Fri, 26 Jan 2018 16:32:29 +0100 Subject: [PATCH] Try to update netlify.toml --- netlify.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/netlify.toml b/netlify.toml index 26591ef..4819cd5 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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" + base = "docs" + publish = "docs/public" + command = "gutenberg build" -[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" +[build.environment] + GUTENBERG_VERSION = "0.3.1" +[context.deploy-preview] + command = "gutenberg build --base-url $DEPLOY_PRIME_URL"