Skip to content

Deploy Storybook

Deploy Storybook #65

name: Deploy Storybook
on:
push:
tags:
- '[1-9].*'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy-storybook:
runs-on: ubuntu-latest
name: Deploy Storybook
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
steps:
- name: Check out repository
uses: actions/checkout@v3
- name: Set up node
uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
cache: 'yarn'
- name: Deploy 🚀
uses: bitovi/github-actions-storybook-to-github-pages@v1.0.3
with:
install_command: yarn install
build_command: yarn build-storybook
path: storybook-static
checkout: false