Skip to content

Add deploy to GitHub Pages #1

Add deploy to GitHub Pages

Add deploy to GitHub Pages #1

# .github/workflows/deploy-github-pages.yaml
name: Build and Publish Storybook to GitHub Pages
on:
push:
branches:
- 'main'
- 'storybook'
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: bitovi/[email protected]
with:
install_command: npm ci
build_command: npm run build-storybook
path: storybook-static