Skip to content

Commit

Permalink
Update buildspec.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tkaraivanov authored Jan 15, 2020
1 parent 952e415 commit d947516
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- >
Expand All @@ -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
Expand Down

0 comments on commit d947516

Please sign in to comment.