Skip to content

Commit 2e416e5

Browse files
authored
Enable docs-preview-local S3 uploads (#3198)
1 parent abe38b2 commit 2e416e5

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

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

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -258,11 +258,9 @@ jobs:
258258
259259
- name: Generate env.PATH_PREFIX
260260
id: generate-path-prefix
261-
# disabled: preview path prefix is not needed on this branch
262261
if: >
263-
false
264-
&& env.MATCH == 'true'
265-
&& steps.deployment.outputs.result
262+
env.MATCH == 'true'
263+
&& needs.check.outputs.any_modified != 'false'
266264
env:
267265
PR_NUMBER: ${{ github.event.pull_request.number }}
268266
GITHUB_REF_NAME: ${{ github.ref_name }}
@@ -336,13 +334,10 @@ jobs:
336334
337335
- name: Upload to S3
338336
id: s3-upload
339-
# disabled: preview uploads are not enabled on this branch
340337
if: >
341-
false
342-
&& env.MATCH == 'true'
338+
env.MATCH == 'true'
343339
&& !cancelled()
344340
&& steps.internal-docs-build.outputs.skip != 'true'
345-
&& steps.deployment.outputs.result
346341
&& steps.internal-docs-build.outcome == 'success'
347342
env:
348343
AWS_RETRY_MODE: standard

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ Elastic Docs V3 is our next-generation documentation platform designed to improv
1111
* [Contribute to Elastic documentation](https://www.elastic.co/docs/contribute-docs/)
1212
* [Learn about V3 syntax](./syntax/index.md)
1313
* [Configure content sets in V3](./configure/index.md)
14+
* [Explore CLI commands](./cli/index.md)
1415
* [Contribute to V3 (developer guide)](./development/index.md)
1516
* [Learn about migration to Elastic Docs V3](./migration/index.md)

0 commit comments

Comments
 (0)