Skip to content
Snippets Groups Projects
Commit 1add2b5c authored by Greg Fodor's avatar Greg Fodor
Browse files

Try no cache folder

parent 6cb93611
No related branches found
No related tags found
No related merge requests found
#!/bin/bash #!/bin/bash
BASE_ASSETS_PATH=$1 export BASE_ASSETS_PATH=$1
TARGET_S3_PATH=$2 export TARGET_S3_PATH=$2
# To build + push to S3 run: # To build + push to S3 run:
# hab studio run "bash scripts/hab-build-and-push.sh" # hab studio run "bash scripts/hab-build-and-push.sh"
...@@ -13,7 +13,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" ...@@ -13,7 +13,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
pushd "$DIR/.." pushd "$DIR/.."
mkdir -p .yarn
mkdir -p node_modules mkdir -p node_modules
mkdir -p build mkdir -p build
...@@ -25,8 +24,8 @@ rm /usr/bin/env ...@@ -25,8 +24,8 @@ rm /usr/bin/env
ln -s "$(hab pkg path core/coreutils)/bin/env" /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 hab pkg install -b core/coreutils core/bash core/node core/yarn core/aws-cli
yarn install --cache-folder .yarn yarn install
GENERATE_SMOKE_TESTS=true yarn build -- --output-path build GENERATE_SMOKE_TESTS=true yarn build --output-path build
mkdir build/pages mkdir build/pages
mv build/*.html build/pages mv build/*.html build/pages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment