diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 197a624a4..1ce93b9d9 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -9,6 +9,7 @@ on: push: branches: - main + - master workflow_call: inputs: strict: @@ -163,11 +164,11 @@ jobs: --paths "${PATH_PREFIX}" "${PATH_PREFIX}/*" - name: Update Link Index - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.s3-upload.outcome == 'success' + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && steps.s3-upload.outcome == 'success' uses: elastic/docs-builder/actions/update-link-index@main - name: Update Reference Index - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && steps.s3-upload.outcome == 'success' + if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master') && steps.s3-upload.outcome == 'success' uses: elastic/docs-builder/actions/update-reference-index@main - name: Update deployment status