From bcb0acfec064639de8b215ced5621cf34b111026 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 2 Oct 2025 09:39:48 +0200 Subject: [PATCH 1/3] Test --- docs/testing/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/testing/index.md b/docs/testing/index.md index 0319fce2d..53ab4baa6 100644 --- a/docs/testing/index.md +++ b/docs/testing/index.md @@ -98,3 +98,5 @@ const foo = "bar"; <1> ``` 1. This is a JavaScript code block. + +test From d427807b5cad567cd67b07c51a671be9fb3160de Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 2 Oct 2025 09:50:13 +0200 Subject: [PATCH 2/3] Fix conditions --- .github/workflows/preview-build.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/preview-build.yml b/.github/workflows/preview-build.yml index 41d04b4e0..675c959b0 100644 --- a/.github/workflows/preview-build.yml +++ b/.github/workflows/preview-build.yml @@ -334,6 +334,7 @@ jobs: # we run our artifact directly, please use the prebuild # elastic/docs-builder@main GitHub Action for all other repositories! - name: Build documentation + id: internal-docs-build if: > env.MATCH == 'true' && github.repository == 'elastic/docs-builder' @@ -385,7 +386,7 @@ jobs: && ( !cancelled() && github.repository == 'elastic/docs-builder' - && steps.docs-build.outputs.skip != 'true' + && steps.internal-docs-build.outputs.skip != 'true' && ( steps.deployment.outputs.result || ( @@ -421,8 +422,8 @@ jobs: && ( !cancelled() && github.repository == 'elastic/docs-builder' - && steps.docs-build.outputs.skip != 'true' - && steps.docs-build.outcome != 'skipped' + && steps.internal-docs-build.outputs.skip != 'true' + && steps.internal-docs-build.outcome != 'skipped' && ( steps.deployment.outputs.result || ( @@ -437,17 +438,17 @@ jobs: - uses: elastic/docs-builder/.github/actions/aws-auth@main if: > !cancelled() - && steps.docs-build.outputs.skip != 'true' + && (steps.docs-build.outputs.skip != 'true' || steps.internal-docs-build.outputs.skip != 'true') && steps.deployment.outputs.result - && steps.docs-build.outcome == 'success' + && (steps.docs-build.outcome == 'success' || steps.internal-docs-build.outcome == 'success') - name: Upload to S3 id: s3-upload if: > env.MATCH == 'true' && !cancelled() - && steps.docs-build.outputs.skip != 'true' + && (steps.docs-build.outputs.skip != 'true' || steps.internal-docs-build.outputs.skip != 'true') && steps.deployment.outputs.result - && steps.docs-build.outcome == 'success' + && (steps.docs-build.outcome == 'success' || steps.internal-docs-build.outcome == 'success') run: | aws s3 sync .artifacts/docs/html "s3://elastic-docs-v3-website-preview${PATH_PREFIX}" --delete --no-follow-symlinks aws cloudfront create-invalidation \ From f4c458b774a810ef7cef05acb04e8e54df08ad15 Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Thu, 2 Oct 2025 09:54:08 +0200 Subject: [PATCH 3/3] Revert docs/testing/index.md --- docs/testing/index.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/testing/index.md b/docs/testing/index.md index 53ab4baa6..0319fce2d 100644 --- a/docs/testing/index.md +++ b/docs/testing/index.md @@ -98,5 +98,3 @@ const foo = "bar"; <1> ``` 1. This is a JavaScript code block. - -test