From e37342b6c6c3236727117cb106f04cb94aa3731e Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Tue, 16 May 2023 15:40:18 +0100 Subject: [PATCH 1/2] Updates to the publish storybook page --- docs/sharing/publish-storybook.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/sharing/publish-storybook.md b/docs/sharing/publish-storybook.md index 7d790066b6f6..5eb4b0500044 100644 --- a/docs/sharing/publish-storybook.md +++ b/docs/sharing/publish-storybook.md @@ -133,6 +133,12 @@ You can publish the static Storybook web app to many hosts. We maintain [`storyb But features like [Composition](./storybook-composition.md), [embed](./embed.md), history, and versioning require tighter integration with Storybook APIs and secure authentication. Your hosting provider may not be capable of supporting these features. Learn about the Component Publishing Protocol (CPP) to see what. +
+ +ℹ️ Additional header configuration may be required to serve Storybook's static files correctly on your host. See the [Migration guide](../../MIGRATION.md#deploying-build-artifacts) for more information on the required headers. + +
+

Component Publishing Protocol (CPP)

From dcb16814ba5f81760f9dc2167614877107c9fd4f Mon Sep 17 00:00:00 2001 From: jonniebigodes Date: Tue, 16 May 2023 19:16:04 +0100 Subject: [PATCH 2/2] Removed storybook deployer reference --- docs/sharing/publish-storybook.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/sharing/publish-storybook.md b/docs/sharing/publish-storybook.md index 5eb4b0500044..c0a9577f801b 100644 --- a/docs/sharing/publish-storybook.md +++ b/docs/sharing/publish-storybook.md @@ -50,7 +50,7 @@ Storybook will create a static web application capable of being served by any we ## Publish Storybook with Chromatic -Once you've built your Storybook as a static web app, you can publish it to your web host. We recommend [Chromatic](https://www.chromatic.com/?utm_source=storybook_website&utm_medium=link&utm_campaign=storybook), a free publishing service made for Storybook that documents, versions, and indexes your UI components securely in the cloud. +Once you've built your Storybook as a static web application, you can publish it to your web host. We recommend [Chromatic](https://www.chromatic.com/?utm_source=storybook_website&utm_medium=link&utm_campaign=storybook), a free publishing service made for Storybook that documents, versions, and indexes your UI components securely in the cloud. ![Storybook publishing workflow](./workflow-publish.png) @@ -129,13 +129,12 @@ When you publish Storybook, you also get component history and versioning down t ## Publish Storybook to other services -You can publish the static Storybook web app to many hosts. We maintain [`storybook-deployer`](https://github.com/storybookjs/storybook-deployer), a handy tool to help you publish to AWS or GitHub pages. - -But features like [Composition](./storybook-composition.md), [embed](./embed.md), history, and versioning require tighter integration with Storybook APIs and secure authentication. Your hosting provider may not be capable of supporting these features. Learn about the Component Publishing Protocol (CPP) to see what. +Since Storybook is built as a static web application, you can also publish it to any web host, including [GitHub Pages](https://docs.github.com/en/pages), [Netlify](https://www.netlify.com/), [AWS S3](https://aws.amazon.com/s3/), and more. However, features such as [Composition](./storybook-composition.md), +[embedding stories](./embed.md), history, and versioning require tighter integration with Storybook APIs and secure authentication. Your hosting provider may not be capable of supporting these features. Learn about the Component Publishing Protocol (CPP) to see what.
-ℹ️ Additional header configuration may be required to serve Storybook's static files correctly on your host. See the [Migration guide](../../MIGRATION.md#deploying-build-artifacts) for more information on the required headers. +ℹ️ Additional header configuration may be required to serve Storybook's static files correctly on your host. For more information on the required headers, see the [Migration guide](https://github.com/storybookjs/storybook/blob/main/MIGRATION.md#deploying-build-artifacts).