Skip to content

add static method to clear all data (#66) #20

add static method to clear all data (#66)

add static method to clear all data (#66) #20

Workflow file for this run

name: Publish Storybook
permissions:
contents: write
on:
push:
branches:
- master
jobs:
build-and-deploy:
# Recommended if you intend to make multiple deployments in quick
# succession.
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Install and Build 🔧
# Install npm packages and build the Storybook files# Install npm
# packages and build the Storybook files
run: |
yarn install
yarn run storybook:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# The branch the action should deploy to.
BRANCH: gh-pages
# The output folder used by build-storybook script
FOLDER: storybook-static
# Automatically remove deleted files from the deploy branch
CLEAN: true