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:
Nassim Kammah 2024-02-08 17:20:58 +01:00 committed by GitHub
parent 4e98aa8117
commit db193f56c4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 }}