Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove build hash from Storybook upload (#206687)
## Summary After a CI run, Storybooks are built. Each commit is built and uploaded separately, which makes sense: https://github.com/elastic/kibana/blob/main/.buildkite/scripts/steps/storybooks/build_and_upload.ts#L24 Unfortunately, we don't have a way to consistently point to main, or to a PR. ## PRs Using #206540 as an example, the Storybook is currently hosted at: https://ci-artifacts.kibana.dev/storybooks/pr-206540/803ec26fb200e1fd23c33ead174dcc5356262cfc This means that, if I push another commit, the URL will change... so all of the links I've posted in Slack are now invalid. This PR changes the URL so it will remain: https://ci-artifacts.kibana.dev/storybooks/pr-206540 regardless of how many commits I push. ## `main` Furthermore, being able to visit https://ci-artifacts.kibana.dev/storybooks/main/latest/index.html to see the most recent Storybook build is awesome. The issue is each Storybook is hosted with that same hash: https://ci-artifacts.kibana.dev/storybooks/main/5ad3ef7b0a76968a31b0824bd08f9132c374c841/shared_ux/index.html So this PR alters the URL so you can consistently point to the latest Storybook build: https://ci-artifacts.kibana.dev/storybooks/main/shared_ux/index.html
- Loading branch information