Skip to content

docs: update storybook docs CI/CD #4

docs: update storybook docs CI/CD

docs: update storybook docs CI/CD #4

name: Build and Deploy Storybook
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'src/**'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
- name: Install and Build 🔧
run: |
yarn
yarn run storybook:build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: storybook-static