File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,11 +37,13 @@ jobs:
3737 log_url: `https://github.com/${context.repo.owner}/${context.repo.repo}/actions/runs/${context.runId}?pr=${context.issue.number}`,
3838 })
3939 return deployment.data.id
40+
41+ - uses : actions/checkout@v4
4042
4143 - uses : actions/download-artifact@v4
4244 with :
4345 name : docs
44- path : .
46+ path : .artifacts/docs/html
4547
4648 - uses : ./actions/aws-auth
4749 with :
5153 env :
5254 PR_NUMBER : ${{ github.event.pull_request.number }}
5355 run : |
54- aws s3 sync . "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete
56+ aws s3 sync .artifacts/docs/html "s3://elastic-docs-v3-website-preview/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}" --delete
5557 aws cloudfront create-invalidation --distribution-id EKT7LT5PM8RKS --paths "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}/*"
5658
5759 - name : Update deployment status
You can’t perform that action at this time.
0 commit comments