Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
bkawk committed Jan 16, 2020
2 parents 220e4ce + d947516 commit d05854b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ 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
- >
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
- >
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 d05854b

Please sign in to comment.