Skip to content

Commit 4705d02

Browse files
committed
fix s3 headers
1 parent c586a04 commit 4705d02

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -833,15 +833,15 @@ jobs:
833833
at: /tmp/dist
834834
- aws-cli/install
835835
- aws-s3/sync:
836-
arguments: --cache-control public,max-age=300,stale-while-revalidate=300 --include *.{html,txt,json,md}
836+
arguments: --cache-control public,max-age=300,stale-while-revalidate=300 --include *.{html,txt,json,md} --exclude *
837837
from: /tmp/dist/production/docs
838838
to: s3://react-spectrum-prod
839839
- aws-s3/sync:
840-
arguments: --cache-control public,max-age=300,stale-while-revalidate=300 --content-type text/x-component;charset=utf-8 --include *.rsc
840+
arguments: --cache-control public,max-age=300,stale-while-revalidate=300 --content-type text/x-component;charset=utf-8 --include *.rsc --exclude *
841841
from: /tmp/dist/production/docs
842842
to: s3://react-spectrum-prod
843843
- aws-s3/sync:
844-
arguments: --exclude *.{html,rsc,txt,json,md}
844+
arguments: --include * --exclude *.{html,rsc,txt,json,md}
845845
from: /tmp/dist/production/docs
846846
to: s3://react-spectrum-prod
847847

0 commit comments

Comments
 (0)