Merge pull request #1988 from jay-hodgson/3.4.29 #1697
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |