Browse Source

Try to update netlify.toml

index-subcmd
Vincent Prouillet 6 years ago
parent
commit
fa8a2bfb2a
1 changed files with 7 additions and 5 deletions
  1. +7
    -5
      netlify.toml

+ 7
- 5
netlify.toml View File

@@ -1,8 +1,10 @@
[build] [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"

Loading…
Cancel
Save