Skip to content

Commit 5221216

Browse files
committed
Fix invalidation path
1 parent 8ccf589 commit 5221216

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/preview-deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
PR_NUMBER: ${{ needs.pull-request-data.outputs.number }}
9090
run: |
9191
aws s3 sync ./html "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete
92-
aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}/*"
92+
aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}*"
9393
9494
- name: Update deployment status
9595
uses: actions/github-script@v7

0 commit comments

Comments
 (0)