Skip to content

Commit 0605582

Browse files
[docs] Add the new docs CI checks (#480)
Adds the new docs CI checks. This will enable a preview to build. Co-authored-by: Martijn Laarman <[email protected]>
1 parent 2df5d15 commit 0605582

File tree

3 files changed

+33
-21
lines changed

3 files changed

+33
-21
lines changed

.github/workflows/comment-on-asciidoc-changes.yml

-21
This file was deleted.

.github/workflows/docs-build.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: docs-build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request_target: ~
8+
merge_group: ~
9+
10+
jobs:
11+
docs-preview:
12+
uses: elastic/docs-builder/.github/workflows/preview-build.yml@main
13+
with:
14+
path-pattern: docs/**
15+
permissions:
16+
deployments: write
17+
id-token: write
18+
contents: read
19+
pull-requests: read

.github/workflows/docs-cleanup.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: docs-cleanup
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- closed
7+
8+
jobs:
9+
docs-preview:
10+
uses: elastic/docs-builder/.github/workflows/preview-cleanup.yml@main
11+
permissions:
12+
contents: none
13+
id-token: write
14+
deployments: write

0 commit comments

Comments
 (0)