Skip to content

ET-372: ICD questions QA and wrap up (#174) #143

ET-372: ICD questions QA and wrap up (#174)

ET-372: ICD questions QA and wrap up (#174) #143

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/github-pages-deploy-action@v4.4.1
with:
branch: gh-pages
folder: storybook-static