Skip to content

Build & Deploy Storybook #86

Build & Deploy Storybook

Build & Deploy Storybook #86

Workflow file for this run

# Building and Deploying Storybook on GH-pages
name: Build & Deploy Storybook
on:
release:
types: [created]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
if: "!contains(github.ref, '-alpha.') && !contains(github.ref, '-beta.') && !contains(github.ref, '-rc.')"
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
path: storybook-static
install_command: npm ci
build_command: npm run storybook:build