Skip to content

Commit 9c03be2

Browse files
committed
TCLOUD-4866: Fix include/exclude patterns
1 parent 0b66e95 commit 9c03be2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy_docs_v2.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ jobs:
6868
- name: Upload website to S3
6969
run: |
7070
aws s3 sync ./build s3://${BUCKET}/main/${RUN} \
71-
--exclude "index.html" \
71+
--exclude "*/index.html" \
7272
--cache-control "public, max-age=3600, stale-while-revalidate=86400"
7373
aws s3 sync ./build s3://${BUCKET}/main/${RUN} \
7474
--exclude "*" \
75-
--include "index.html" \
75+
--include "*/index.html" \
7676
--cache-control "max-age=300, stale-while-revalidate=86400"
7777
7878
- name: Create redirects on S3

0 commit comments

Comments
 (0)