Skip to content

Build Storybook

Build Storybook #2

Workflow file for this run

name: Build Storybook
# Every 24 hours and manually
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
with:
repository: wizarrrr/wizarr
ref: beta
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 18.18.2
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Build Storybook
run: npx nx run wizarr-frontend:build-storybook
- name: Deploy Storybook
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist/storybook/wizarr-frontend