Skip to content

chore: update yarn.lock (#151) #120

chore: update yarn.lock (#151)

chore: update yarn.lock (#151) #120

name: "🚀 Deploy Storybook to Github Pages"
on:
push:
branches:
- main
workflow_dispatch:
inputs:
branch:
description: "Branch to deploy"
required: true
default: "main"
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-latest
steps:
- name: 🛎️ Checkout
uses: actions/checkout@v3
- name: 🚧 Install dependencies
run: |
yarn install
- name: 👷‍♀️ Build Storybook
run: yarn run storybook:build
- name: 🛬 Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static