Skip to content

Try to push empty Storybook #5

Try to push empty Storybook

Try to push empty Storybook #5

Workflow file for this run

name: Build and Publish Storybook to GitHub Pages
on: [push]
permissions:
contents: read
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install
run: yarn
if: success() || failure()
- name: Build Storybook
run: yarn build:showcase
if: success() || failure()
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "./dist-showcase"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
# 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 and push Storybook to GitHub Pages
# uses: bitovi/[email protected]
# with:
# install_command: yarn install
# build_command: yarn build:showcase
# path: dist-showcase