Skip to content

Fix storybook

Fix storybook #7

name: Storybook
on:
push:
branches:
- main # if any push happens on branch `main`, run this workflow. You could also add `paths` to detect changes in specific folder
permissions:
contents: write
pages: write
id-token: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install and Build
run: |
npm ci
npm run build-storybook
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static # output folder from `npm run build-storybook`