Skip to content

One more deploy config update #25

One more deploy config update

One more deploy config update #25

Workflow file for this run

name: Build and Deploy
on:
push:
paths: ["stories/**", "src/components/**"] # Trigger the action only when files change in the folders defined here
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/[email protected]
with:
persist-credentials: false
- name: Install and Build 🔧
run: | # Install npm packages and build the Storybook files
yarn
yarn build-storybook
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
folder: storybook-static # The folder that the build-storybook script generates files.
clean: true # Automatically remove deleted files from the deploy branch
target-folder: docs # This is the directory gh-pages is expecting