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:
6565 run : |
6666 gh run download ${{ github.event.workflow_run.id }} \
6767 --repo "${GITHUB_REPOSITORY}" \
68- --name docs
68+ --name docs \
69+ --dir html
6970
7071 - uses : elastic/docs-builder/.github/actions/aws-auth@main
7172
7273 - name : Upload to S3
7374 env :
7475 PR_NUMBER : ${{ steps.pull_request.outputs.number }}
7576 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
7778 aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}/*"
7879
7980 - name : Update deployment status
You can’t perform that action at this time.
0 commit comments