Attempt to fix deploy preview build

This commit is contained in:
dannyrb committed 2019-07-16 09:32:14 -04:00
1 parent 2279e555a3
commit fd720bd4d7
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ cd "$(dirname "$0")"
# Helpful to verify which versions we're using
yarn -v
node -v
yarn config set workspaces-experimental true
# Install GitBook CLI
echo 'Installing Gitbook CLI'
@@ -60,7 +61,7 @@ mkdir ./docs/latest/_book/demo/
# Install build deps and all monorepo package dependencies. Yarn Workspaces
# should also symlink all projects appropriately
yarn install
yarn install --no-ignore-optional --pure-lockfile
# Navigate to our Viewer project
cd ./platform/viewer/
+1 -1
View File
@@ -33,7 +33,7 @@
[context.deploy-preview]
base = ""
publish = "docs/latest/_book/"
command = ".netlify/build-deploy-preview.sh"
command = "chmod +x .netlify/build-deploy-preview.sh && .netlify/build-deploy-preview.sh"
# Redirects and headers are GLOBAL for all builds – they do not get scoped to
# contexts no matter where you define them in the file.