Skip to content

rename job

rename job #3

name: Deploy Storybook
on: [push]
jobs:
deploy-storybook:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install dependencies
run: npm ci
- name: Build Storybook
run: npm run build:storybook
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: 0f3245a938ac700e485dd7fa57b5d209
projectName: ui-storybook
directory: storybook-static