Skip to content

Commit

Permalink
Update docs-preview link (#176468)
Browse files Browse the repository at this point in the history
## Summary

Following the migration from Jenkins to Buildkite, docs previews are now
available at <repo>_bk_<PR>.
More context in elastic/docs#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)
  • Loading branch information
nkammah authored Feb 8, 2024
1 parent 5cfb226 commit 096bf55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/lifecycle/post_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 096bf55

Please sign in to comment.