Skip to content

Build and Publish Storybook to GitHub Pages #18

Build and Publish Storybook to GitHub Pages

Build and Publish Storybook to GitHub Pages #18

name: Build and Publish Storybook to GitHub Pages
on:
release:
types: [published]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20.x'
- id: build-publish
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.2
with:
path: docs/storybook-static
build_command: npm run build
checkout: false