Fixing content-type for service-worker in S3
This commit is contained in:
parent
92800241d7
commit
f2d10483ad
@ -42,7 +42,7 @@ jobs:
|
|||||||
command: |
|
command: |
|
||||||
sudo apt-get -y -qq install awscli
|
sudo apt-get -y -qq install awscli
|
||||||
aws s3 sync build s3://$DEPLOY_BUCKET/ --delete
|
aws s3 sync build s3://$DEPLOY_BUCKET/ --delete
|
||||||
aws s3api copy-object --copy-source $DEPLOY_BUCKET/service-worker.js --bucket $DEPLOY_BUCKET --key service-worker.js --metadata-directive REPLACE --cache-control "max-age=0"
|
aws s3api copy-object --copy-source $DEPLOY_BUCKET/service-worker.js --bucket $DEPLOY_BUCKET --key service-worker.js --metadata-directive REPLACE --cache-control "max-age=0" --content-type "applicatoin/javascript"
|
||||||
|
|
||||||
workflows:
|
workflows:
|
||||||
version: 2
|
version: 2
|
||||||
|
Loading…
Reference in New Issue
Block a user