From 952e4151a5cb6947b0d4e5f5fcfcb92b4c252a75 Mon Sep 17 00:00:00 2001 From: tkaraivanov Date: Wed, 15 Jan 2020 17:22:20 +0200 Subject: [PATCH 1/2] Update buildspec.yml --- buildspec.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildspec.yml b/buildspec.yml index b14d60c..00e8b3c 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -30,7 +30,7 @@ phases: - > aws s3 cp --cache-control="max-age=0, no-cache, no-store, must-revalidate" - ./build/service-worker.js s3://$DEPLOY_BUCKET/es6-bundled/ + ./docs/service-worker.js s3://$DEPLOY_BUCKET/es6-bundled/ # set the cache-control headers for index.html to prevent # browser caching From d947516a987d3556f3e34c78cf437df4d7c7980f Mon Sep 17 00:00:00 2001 From: tkaraivanov Date: Wed, 15 Jan 2020 17:27:41 +0200 Subject: [PATCH 2/2] Update buildspec.yml --- buildspec.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/buildspec.yml b/buildspec.yml index 00e8b3c..2099eb2 100644 --- a/buildspec.yml +++ b/buildspec.yml @@ -24,7 +24,7 @@ phases: - > aws s3 cp --cache-control="max-age=0, no-cache, no-store, must-revalidate" - --recursive ./build s3://$DEPLOY_BUCKET/marketinigWepApp/ + --recursive ./build s3://$DEPLOY_BUCKET/marketingWepApp/ # set the cache-control headers for service-worker.js to prevent # browser caching - > @@ -37,7 +37,7 @@ phases: - > aws s3 cp --cache-control="max-age=0, no-cache, no-store, must-revalidate" - ./build/index.html s3://$DEPLOY_BUCKET/marketinigWepApp/ + ./build/index.html s3://$DEPLOY_BUCKET/marketingWepApp/ # invalidate the CloudFront cache for index.html and service-worker.js # to force CloudFront to update its edge locations with the new versions