Skip to content

Add Next.js routing to Storybook preview config #30

Add Next.js routing to Storybook preview config

Add Next.js routing to Storybook preview config #30

Workflow file for this run

on:
push:
branches:
- "main"
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy_storybook:
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/[email protected]
with:
env:
RESEND_API_KEY=${{ secrets.RESEND_API_KEY }}
EMAIL_SEND_NAME=${{ secrets.EMAIL_SEND_NAME }}
EMAIL_SEND_ADDRESS=${{ secrets.EMAIL_SEND_ADDRESS }}
SANITY_PROJECT_ID=${{ secrets.SANITY_PROJECT_ID }}
SANITY_DATASET=${{ secrets.SANITY_DATASET }}
path: storybook-static
build_command: yarn build-storybook
install_command: corepack enable && yarn install