Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Add --checked-color to checkbox #1265

Add --checked-color to checkbox

Add --checked-color to checkbox #1265

name: Deploy Storybook
on:
push:
branches-ignore:
- 'docs'
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 7.26.3
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Read branch name
id: vars
run: echo ::set-output name=short_ref::${GITHUB_REF#refs/*/}
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: |
.pnpm-store
pnpm
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
- run: pnpm i --frozen-lockfile
- run: pnpm build-storybook
- name: Deploy Storybook
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: docs
publish_dir: ./storybook-static
destination_dir: ./sb/${{ steps.vars.outputs.short_ref }}