Skip to content

chore: separate grid column component into its own directory (#733) #105

chore: separate grid column component into its own directory (#733)

chore: separate grid column component into its own directory (#733) #105

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@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-node@8f9cc178b6e843639351e0bd5d638e5fd0a8dec7
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