Skip to content

Commit 3a8e729

Browse files
committed
TCLOUD-4780: Re-add the docs folder segment for redirects
Some older redirects go from the docs level (for example docs-4x) so the folder is needed to properly model the redirects.
1 parent 5706df1 commit 3a8e729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/preview_create.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,6 @@ jobs:
5353
role-session-name: docs-preview-update
5454
aws-region: us-east-2
5555

56-
- name: Upload website preview to S3
56+
- name: Upload website preview to S3 # put in the docs subfolder as we rely on that path in redirects
5757
run: |
58-
aws s3 sync --delete ./build/site s3://tiny-cloud-antora-docs-preview/pr${PR_NUMBER}
58+
aws s3 sync --delete ./build/site s3://tiny-cloud-antora-docs-preview/pr${PR_NUMBER}/docs

0 commit comments

Comments
 (0)