Skip to content

fix: Update workflow to deploy Storybook application to Github pages … #395

fix: Update workflow to deploy Storybook application to Github pages …

fix: Update workflow to deploy Storybook application to Github pages … #395

name: Storybook Publish
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
env:
NODE_VERSION: 20
NODE_CACHE: "yarn"
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node
uses: actions/[email protected]
with:
node-version: ${{ env.NODE_VERSION }}
cache: ${{ env.NODE_CACHE }}
- name: Deploy Storybook
uses: bitovi/[email protected]
with:
install_command: yarn install --immutable
build_command: yarn build:storybook
path: storybook-static
checkout: false