Update docs-preview link (#176468)

## Summary

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

### Checklist


### Risk Matrix


### For maintainers

- [ ] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
This commit is contained in:
Nassim Kammah 2024-02-08 08:42:35 +01:00 committed by GitHub
parent 5cfb226858
commit 096bf5515a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ fi
ts-node "$(dirname "${0}")/ci_stats_complete.ts"
if [[ "${GITHUB_PR_NUMBER:-}" ]]; then
DOCS_CHANGES_URL="https://kibana_$GITHUB_PR_NUMBER}.docs-preview.app.elstc.co/diff"
DOCS_CHANGES_URL="https://kibana_bk_$GITHUB_PR_NUMBER}.docs-preview.app.elstc.co/diff"
DOCS_CHANGES=$(curl --connect-timeout 10 -m 10 -sf "$DOCS_CHANGES_URL" || echo '')
if [[ "$DOCS_CHANGES" && "$DOCS_CHANGES" != "There aren't any differences!" ]]; then