mirror of
https://github.com/elastic/logstash.git
synced 2025-06-28 09:46:03 -04:00
Update docs-preview link (#15918)
Following the migration from Jenkins to Buildkite, docs previews are now available at <repo>_bk_<PR>. More context in https://github.com/elastic/docs/pull/2898
This commit is contained in:
parent
4e98aa8117
commit
db193f56c4
1 changed files with 3 additions and 3 deletions
6
.github/workflows/add-docs-preview-link.yml
vendored
6
.github/workflows/add-docs-preview-link.yml
vendored
|
@ -19,9 +19,9 @@ jobs:
|
||||||
owner: elastic
|
owner: elastic
|
||||||
# when running with on: pull_request_target we get the PR base ref by default
|
# when running with on: pull_request_target we get the PR base ref by default
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
statusName: "elasticsearch-ci/docs"
|
statusName: "buildkite/docs-build-pr"
|
||||||
# https://elasticsearch-ci.elastic.co/job/elastic+logstash+pull-request+build-docs
|
# https://elasticsearch-ci.elastic.co/job/elastic+logstash+pull-request+build-docs
|
||||||
# usually finishes in ~ 10 minutes
|
# usually finishes in ~ 20 minutes
|
||||||
timeoutSeconds: 900
|
timeoutSeconds: 900
|
||||||
intervalSeconds: 30
|
intervalSeconds: 30
|
||||||
- name: Add Docs Preview link in PR Comment
|
- name: Add Docs Preview link in PR Comment
|
||||||
|
@ -29,5 +29,5 @@ jobs:
|
||||||
uses: thollander/actions-comment-pull-request@v1
|
uses: thollander/actions-comment-pull-request@v1
|
||||||
with:
|
with:
|
||||||
message: |
|
message: |
|
||||||
:page_with_curl: **DOCS PREVIEW** :sparkles: https://logstash_${{ github.event.number }}.docs-preview.app.elstc.co/diff
|
:page_with_curl: **DOCS PREVIEW** :sparkles: https://logstash_bk_${{ github.event.number }}.docs-preview.app.elstc.co/diff
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue