Skip to content

Commit

Permalink
try fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
caesarsol committed Feb 10, 2020
1 parent 32bee71 commit f9f331b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions scripts/netlify.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
set -x

./.travis/before_install.sh

if [ $CONTEXT == "deploy-preview" ]; then
echo "We're in a PR preview"

PKG_TO_BUILD="@carbon/charts"
# Grab netlify app type from the netlify app URL
# e.g. core, angular or react (translate to ./packages/NAME
PKG_NAME="core"
PKG_TO_BUILD="@carbon/charts-$PKG_NAME"

# create the folder we'll deploy in netlify
mkdir -p pages
Expand Down

0 comments on commit f9f331b

Please sign in to comment.