Skip to content

chore: release 1.72.0 (#1996) #126

chore: release 1.72.0 (#1996)

chore: release 1.72.0 (#1996) #126

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