Skip to content

Release 0.57.14

Release 0.57.14 #821

Workflow file for this run

name: Build and Deploy
on:
workflow_dispatch:
push:
branches:
- '**'
- '!gh-pages'
jobs:
build-and-deploy:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest]
node-version: [18.x]
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
npm install
npm run storybook-build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: storybook-static # The folder that the build-storybook script generates files.
CLEAN: true # Automatically remove deleted files from the deploy branch
TARGET_FOLDER: ${{ github.head_ref || github.ref_name }}/docs # The folder that we serve our Storybook files from