File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -65,15 +65,16 @@ jobs:
65
65
run : |
66
66
gh run download ${{ github.event.workflow_run.id }} \
67
67
--repo "${GITHUB_REPOSITORY}" \
68
- --name docs
68
+ --name docs \
69
+ --dir html
69
70
70
71
- uses : elastic/docs-builder/.github/actions/aws-auth@main
71
72
72
73
- name : Upload to S3
73
74
env :
74
75
PR_NUMBER : ${{ steps.pull_request.outputs.number }}
75
76
run : |
76
- aws s3 sync . "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete --exclude "pull_request.json"
77
+ aws s3 sync ./html "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete
77
78
aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}/*"
78
79
79
80
- name : Update deployment status
You can’t perform that action at this time.
0 commit comments