Skip to content

Commit

Permalink
[docs] Add the new docs CI checks (#212557)
Browse files Browse the repository at this point in the history
Adds the new docs CI checks. This will enable a preview to build our new
Markdown-based docs.

@florent-leborgne please tag reviewers, add the appropriate label(s),
and take this out of draft when you're ready.

---------

Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Brad White <Ikuni17@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 3, 2025
1 parent c40590c commit 80326c0
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/comment-on-asciidoc-changes.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/docs-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: docs-build

on:
push:
branches:
- main
pull_request_target:
types:
- opened
- reopened
- synchronize

jobs:
docs-preview:
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main
with:
path-pattern: docs/**
permissions:
deployments: write
id-token: write
contents: read
pull-requests: read
14 changes: 14 additions & 0 deletions .github/workflows/docs-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: docs-cleanup

on:
pull_request_target:
types:
- closed

jobs:
docs-preview:
uses: elastic/docs-builder/.github/workflows/preview-cleanup.yml@main
permissions:
contents: none
id-token: write
deployments: write

0 comments on commit 80326c0

Please sign in to comment.