Skip to content

Merge pull request #12536 from aruiz14/wait-for-webhook #264

Merge pull request #12536 from aruiz14/wait-for-webhook

Merge pull request #12536 from aruiz14/wait-for-webhook #264

Workflow file for this run

name: storybook
env:
STORYBOOK_TOKEN: ${{ secrets.STORYBOOK_TOKEN }}
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
storybook:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: Install packages
run: yarn install
- name: Build Storybook
run: |
yarn build-storybook
- name: Publish Storybook
if: ${{ github.event_name == 'push' && github.repository_owner == 'rancher'}}
run: .github/workflows/scripts/publish-storybook