Skip to content

Merge pull request #562 from pixiv/naporin0624/reorder-stories #427

Merge pull request #562 from pixiv/naporin0624/reorder-stories

Merge pull request #562 from pixiv/naporin0624/reorder-stories #427

Workflow file for this run

name: gh-pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.node-version'
cache: yarn
- name: Prepare deps
run: |
yarn install --immutable --inline-builds
yarn build
- name: Output files
run: |
yarn storybook:build -o public-pages --quiet
cp .storybook/badge.svg public-pages/storybook-badge.svg
mv pages public-pages/docs
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public-pages