Skip to content

chore: make the option type choice #67

chore: make the option type choice

chore: make the option type choice #67

Workflow file for this run

name: Upload React Storybook to GitHub Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
upload-react-storybook:
if: "contains(github.event.head_commit.message, 'release-please--branches--main--components--cardano-connect-with-wallet') && !contains(github.event.head_commit.message, 'cardano-connect-with-wallet-core')"
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repository
uses: actions/checkout@v3
- name: 🫡 Setup node
uses: actions/setup-node@v1
with:
node-version: 18.12.0
- name: 🧘‍♀️ Download dependencies
run: npm ci
- name: 🎨 Create public folder
run: mkdir -p react/public
- name: 🧚‍♀️ Build storybook
run: npm run build:react
- name: 🥁 Publish storybook into gh-pages
uses: JamesIves/github-pages-deploy-action@v4
with:
BRANCH: gh-pages
folder: react/storybook-static
target-folder: react-storybook/