Skip to content

Publish

Publish #548

Workflow file for this run

name: Storybook
on:
push:
branches:
- main # if any push happens on branch `main`, run this workflow. You could also add `paths` to detect changes in specific folder
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.15.1]
steps:
- name: Checkout
uses: actions/[email protected]
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install and Build
run: |
yarn
yarn build-storybook
- name: Deploy
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: storybook-static