Skip to content

Development (#156) #184

Development (#156)

Development (#156) #184

Workflow file for this run

name: Build and Publish storybook to GitHub Pages
on:
push:
branches:
- "master"
jobs:
deploy:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.build-publish.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: build-publish
uses: bitovi/github-actions-react-to-ghp@v1.2.2
with:
path: storybook-static
build_command: NODE_ENV=production npm run build && npm run build:storybook