Skip to content

Merge pull request #37 from Workfront/main-group-headers-styling-enha… #53

Merge pull request #37 from Workfront/main-group-headers-styling-enha…

Merge pull request #37 from Workfront/main-group-headers-styling-enha… #53

Workflow file for this run

name: Storybook Build and Deploy
on:
push:
branches: ["main"]
paths: ["packages/core/**", "packages/cells/**", "packages/source/**"]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version: 20.10.0
- name: Install and Build 🔧
run: |
npm install
npm run build-storybook
- name: "Add .nojekyll 📄"
run: cd storybook-build && touch .nojekyll
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: storybook-build
CLEAN: true
TARGET_FOLDER: docs