Skip to content

Storybook update for framework integrations react (#2728) #1123

Storybook update for framework integrations react (#2728)

Storybook update for framework integrations react (#2728) #1123

name: Storybook Deployment
on:
push:
branches: [main]
jobs:
deploy-storybook:
runs-on: ubuntu-latest
if: github.repository == 'trimble-oss/modus-web-components'
defaults:
run:
working-directory: ./stencil-workspace
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '16.x'
- name: Full Build
run: npm run full
- name: Deploy Storybook to Netlify
uses: netlify/actions/cli@master
with:
args: deploy --dir=stencil-workspace/storybook/dist --prod
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}