Changes as per feedback.

This commit is contained in:
Peter Simmons 2022-01-19 16:33:20 +13:00
parent 6f84b05bb1
commit 942e5e8a0a

View File

@ -40,12 +40,6 @@ npx chromatic --project-token <your-project-token>
</div>
<div class="aside">
GOTCHA: If you're project has less than 2 commits chromatic publishing will fail while `Retrieving git information` add another commit and try again.
</div>
```shell
Build 1 published.
@ -53,6 +47,10 @@ Build 1 published.
View it online at https://www.chromatic.com/build?appId=...&number=1.
```
<div class="aside">
💡 Before running Chromatic's CLI ensure you have at least two commits added to the repository to prevent build failures, as Chromatic relies on a full Git history graph to establish the baselines. Read more about baselines in Chromatic's <a href="https://www.chromatic.com/docs/branching-and-baselines"> documentation</a>
</div>
When Chromatic finishes, it should have successfully deployed your Storybook and established the baselines (i.e., starting point) for all your component's stories. Additionally, providing you with a link to the published Storybook that you can share with your team to gather feedback.
![Chromatic project first build](./chromatic-first-build-optimized.png)