We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f4039ae commit a088e29Copy full SHA for a088e29
.github/workflows/preview-build.yml
@@ -53,7 +53,6 @@ jobs:
53
if: github.event_name == 'push' || steps.check-files.outputs.any_changed == 'true'
54
uses: actions/checkout@v4
55
with:
56
- repository: '${{ github.event.pull_request.head.repo.full_name || github.repository }}'
57
ref: ${{ github.event.pull_request.head.sha || github.ref }}
58
persist-credentials: false
59
@@ -148,7 +147,7 @@ jobs:
148
147
--paths "${PATH_PREFIX}" "${PATH_PREFIX}/*"
149
150
- name: Update Link Index
151
- if: steps.s3-upload.outcome == 'success'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.s3-upload.outcome == 'success'
152
uses: elastic/docs-builder/actions/update-link-index@main
153
154
- name: Update deployment status
0 commit comments