diff --git a/.github/workflows/preview-deploy.yml b/.github/workflows/preview-deploy.yml index 97434b14..dc4e969a 100644 --- a/.github/workflows/preview-deploy.yml +++ b/.github/workflows/preview-deploy.yml @@ -73,7 +73,7 @@ jobs: env: PR_NUMBER: ${{ steps.pull_request.outputs.number }} run: | - aws s3 sync . "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete --exclude "pull_request_number.txt" + aws s3 sync . "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete --exclude "pull_request.json" aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}/*" - name: Update deployment status