From 612ed77714182056cfc5b9eb13bed66c8a051045 Mon Sep 17 00:00:00 2001 From: mkrause Date: Mon, 7 Oct 2024 16:21:10 +0200 Subject: [PATCH 1/2] Create deploy_storybook.yaml --- .github/workflows/deploy_storybook.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/deploy_storybook.yaml diff --git a/.github/workflows/deploy_storybook.yaml b/.github/workflows/deploy_storybook.yaml new file mode 100644 index 0000000..10d5dae --- /dev/null +++ b/.github/workflows/deploy_storybook.yaml @@ -0,0 +1,22 @@ + +name: Deploy Storybook + +on: + push: + branches: + - "master" + +permissions: + contents: read + pages: write + id-token: write + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - id: build-publish + uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 + with: + path: storybook-static + build_command: npm run storybook:build From 525212e28877a3cbeb9d58e1bd9ad0e0d54fc3f1 Mon Sep 17 00:00:00 2001 From: mkrause Date: Mon, 7 Oct 2024 17:02:48 +0200 Subject: [PATCH 2/2] Update deploy_storybook.yaml --- .github/workflows/deploy_storybook.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/deploy_storybook.yaml b/.github/workflows/deploy_storybook.yaml index 10d5dae..ab1cb56 100644 --- a/.github/workflows/deploy_storybook.yaml +++ b/.github/workflows/deploy_storybook.yaml @@ -19,4 +19,5 @@ jobs: uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3 with: path: storybook-static + install_command: npm ci --force build_command: npm run storybook:build