From 1add2b5c94e01e574e649132c77fb6ae9c6d15a9 Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Thu, 12 Jul 2018 22:26:54 +0000 Subject: [PATCH] Try no cache folder --- scripts/hab-build-and-push.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/scripts/hab-build-and-push.sh b/scripts/hab-build-and-push.sh index 286dd48c0..fff4639ce 100755 --- a/scripts/hab-build-and-push.sh +++ b/scripts/hab-build-and-push.sh @@ -1,7 +1,7 @@ #!/bin/bash -BASE_ASSETS_PATH=$1 -TARGET_S3_PATH=$2 +export BASE_ASSETS_PATH=$1 +export TARGET_S3_PATH=$2 # To build + push to S3 run: # hab studio run "bash scripts/hab-build-and-push.sh" @@ -13,7 +13,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" pushd "$DIR/.." -mkdir -p .yarn mkdir -p node_modules mkdir -p build @@ -25,8 +24,8 @@ rm /usr/bin/env ln -s "$(hab pkg path core/coreutils)/bin/env" /usr/bin/env hab pkg install -b core/coreutils core/bash core/node core/yarn core/aws-cli -yarn install --cache-folder .yarn -GENERATE_SMOKE_TESTS=true yarn build -- --output-path build +yarn install +GENERATE_SMOKE_TESTS=true yarn build --output-path build mkdir build/pages mv build/*.html build/pages -- GitLab