From 36fb385c38f418975a5a24314e86a592d39cb914 Mon Sep 17 00:00:00 2001 From: Marshall Quander <marshall@quander.me> Date: Thu, 26 Jul 2018 17:35:37 -0700 Subject: [PATCH] Fix build paths to point to the right spots --- Jenkinsfile | 2 +- scripts/hab-build-and-push.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5951a3a73..b5b5499fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,7 +24,7 @@ pipeline { stages { stage('pre-build') { steps { - sh 'rm -rf ./build ./tmp' + sh 'rm -rf ./dist ./tmp' } } diff --git a/scripts/hab-build-and-push.sh b/scripts/hab-build-and-push.sh index 4c08106ba..40df6a3f8 100755 --- a/scripts/hab-build-and-push.sh +++ b/scripts/hab-build-and-push.sh @@ -26,5 +26,5 @@ npm run build mkdir dist/pages mv dist/*.html dist/pages -aws s3 sync --acl public-read --cache-control "max-age=31556926" build/assets "$TARGET_S3_URL/assets" -aws s3 sync --acl public-read --cache-control "no-cache" --delete build/pages "$TARGET_S3_URL/pages/latest" +aws s3 sync --acl public-read --cache-control "max-age=31556926" dist/assets "$TARGET_S3_URL/assets" +aws s3 sync --acl public-read --cache-control "no-cache" --delete dist/pages "$TARGET_S3_URL/pages/latest" -- GitLab