File tree Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Expand file tree Collapse file tree 1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change 66permissions :
77 contents : read
88 packages : read
9+ id-token : write
10+ pull-requests : write
11+ deployments : write
912
1013concurrency :
1114 group : ${{ github.workflow }}-${{ github.ref }}
3639 # we run our artifact directly please use the prebuild
3740 # elastic/docs-builder@main GitHub Action for all other repositories!
3841 - name : Build documentation
39- run : .artifacts/publish/docs-builder/release/docs-builder --strict
42+ env :
43+ PR_NUMBER : ${{ github.event.pull_request.number }}
44+ run : .artifacts/publish/docs-builder/release/docs-builder --strict --path-prefix "/${GITHUB_REPOSITORY}/pull/${PR_NUMBER}"
45+
46+ - uses : actions/upload-artifact@v4
47+ with :
48+ name : docs
49+ path : .artifacts/docs/html
50+ if-no-files-found : error
51+ retention-days : 1
52+
53+ preview :
54+ needs : build
55+ uses : ./.github/workflows/preview.yml
You can’t perform that action at this time.
0 commit comments