Skip to content

Merge pull request #1234 from jay-hodgson/PORTALS-3252 #37

Merge pull request #1234 from jay-hodgson/PORTALS-3252

Merge pull request #1234 from jay-hodgson/PORTALS-3252 #37

Workflow file for this run

name: 'Publish Storybook to GitHub Pages'
env:
NODE_OPTIONS: '--max-old-space-size=4096'
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/pnpm-setup-action
- name: Build Storybook
run: pnpm nx run synapse-react-client:storybook:build
- name: Create .nojekyll file for GitHub Actions
run: touch packages/synapse-react-client/storybook-static/.nojekyll
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: packages/synapse-react-client/storybook-static