Skip to content

fix: misaligned of FR theme and topic menu button (bug) (#541) #51

fix: misaligned of FR theme and topic menu button (bug) (#541)

fix: misaligned of FR theme and topic menu button (bug) (#541) #51

name: Publish storybook
on:
workflow_dispatch:
push:
branches:
- main
paths:
- 'packages/web/src/**'
- 'packages/web/.storybook/**'
env:
NODE_OPTIONS: --max-old-space-size=6144
jobs:
build-deploy:
name: Publish storybook
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
- uses: actions/setup-node@c2ac33f2c62f978d6c944d9648125a294e56dc0b
with:
node-version: 18
- name: Install gcds-components
run: npm install
- name: Build gcds-components
run: npm run build
- name: Build storybook
run: npm run build-storybook
- name: Deploy
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
publish_dir: ./docs
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: storybook
keep_files: true