-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
(cherry picked from commit f3daba8) Co-authored-by: Brandon Morelli <[email protected]>
- Loading branch information
1 parent
43ad681
commit a296e8d
Showing
2 changed files
with
23 additions
and
28 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,23 @@ | ||
name: docs-preview | ||
on: | ||
pull_request_target: | ||
types: [opened] | ||
paths: | ||
- '**.asciidoc' | ||
- '**.jpg' | ||
- '**.png' | ||
- '**.gif' | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
jobs: | ||
doc-preview-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: elastic/docs/.github/actions/docs-preview@master | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
repo: ${{ github.event.repository.name }} | ||
preview-path: 'guide/index.html' | ||
pr: ${{ github.event.pull_request.number }} |