Skip to content

Commit

Permalink
[8.4] Add Buildkite preview links to PRs (#4390) | Delete docs-previe…
Browse files Browse the repository at this point in the history
…w-links.yml (#4406) (#4426)

* Add Buildkite preview links to PRs (#4390)

* Create new action

* Fix preview-path for Security docs

* Delete docs-preview-links.yml (#4406)
  • Loading branch information
joepeeples authored Dec 7, 2023
1 parent d917034 commit 7015f57
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 25 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/docs-preview-links.yml

This file was deleted.

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

on:
pull_request_target:
types: [opened]

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/en/security/master/index.html'
pr: ${{ github.event.pull_request.number }}

0 comments on commit 7015f57

Please sign in to comment.