Skip to content

change: testing the deployment to github pages #2

change: testing the deployment to github pages

change: testing the deployment to github pages #2

Workflow file for this run

name: Storybook Deploy
on:
push:
branches:
- feature/github-pages # if any push happens on branch `develop`, run this workflow. You could also add `paths` to detect changes in specific folder
jobs:
build-and-deploy:
name: Build and deploy Storybook
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install
run: npm install --frozen-lockfile
# run: npm ci
- name: Build
run: npm run build-storybook
# run: npm run build-storybook
env:
NODE_OPTIONS: --max_old_space_size=4096
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: storybook-static # output folder from `npm run build-storybook`