How do I get the published Storybook output URL through the CI pipeline?
- Add the
--diagnostics-fileflag to your Chromatic command/script to generate thechromatic-diagnostics.jsonfile. - Store the diagnostics file as a CI artifact, which should let you reference the JSON output and obtain the URL and other outputs needed. Refer to: GitHub artifacts, GitLab artifacts, BitBucket artifacts, CircleCI artifacts, TravisCI artifacts and Jenkins artifacts
- Find the Storybook URL under
storybookUrland the Chromatic build URL underwebUrlin thechromatic-diagnostics.jsonfile.