Skip to content

chore: release 2.10.0 (#2997) #154

chore: release 2.10.0 (#2997)

chore: release 2.10.0 (#2997) #154

Workflow file for this run

name: Publish stories if changed
on:
push:
branches:
- main
paths:
- stories/**
- components/**
workflow_call:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: "鈽侊笍 checkout repository"
uses: actions/checkout@v2
- name: "馃敡 setup node"
uses: actions/setup-node@v2.1.5
with:
node-version: 18
- name: "馃敡 install npm@latest"
run: npm i -g npm@latest
- name: "馃摝 install dependencies"
uses: bahmutov/npm-install@v1
- name: "馃摝 build Storybook"
run: npm run build-storybook
- name: "馃殌 deploy static"
uses: peaceiris/actions-gh-pages@v3
with:
publish_branch: storybook-static
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook-static
commit_message: ${{ github.event.head_commit.message }}
enable_jekyll: false