Skip to content

Update uses: JamesIves/[email protected]

Update uses: JamesIves/[email protected] #13

Workflow file for this run

name: Build and Publish Storybook to GitHub Pages
on: [push]
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Install
run: yarn
- name: Build Storybook
run: yarn build:showcase
- name: Deploy Storybook to GitHub Pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: ./dist-showcase
target-folder: ${{ github.ref_name }}