Skip to content

Merge pull request #3 from MAPC/map #11

Merge pull request #3 from MAPC/map

Merge pull request #3 from MAPC/map #11

name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- "main"
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
environment:
name: github-pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
- uses: bitovi/[email protected]
with:
install_command: yarn install # default: npm ci
build_command: yarn build-storybook # default: npm run build-storybook
path: storybook-static # default: dist/storybook
checkout: false # default: true