Skip to content

chore: 2.55.2 release (#3935) #202

chore: 2.55.2 release (#3935)

chore: 2.55.2 release (#3935) #202

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/[email protected]
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