-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Add the new docs CI checks (#212557)
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
1 parent
c40590c
commit 80326c0
Showing
3 changed files
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |