Skip to content

Commit fcad874

Browse files
Mpdreamzclaudecursoragent
committed
Skip AWS auth in docs preview when docs build fails (#3269)
Co-authored-by: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 38fc55e commit fcad874

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/docs-preview-local.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,11 @@ jobs:
328328
329329
- uses: elastic/docs-builder/.github/actions/aws-auth@main
330330
if: >
331-
!cancelled()
331+
env.MATCH == 'true'
332+
&& !cancelled()
332333
&& needs.check.outputs.any_modified != 'false'
334+
&& steps.internal-docs-build.outputs.skip != 'true'
335+
&& steps.internal-docs-build.outcome == 'success'
333336
&& steps.internal-validate-path-prefixes.outcome == 'success'
334337
335338
- name: Upload to S3

0 commit comments

Comments
 (0)