console/.github/workflows/storybook.yaml
renovate[bot] 16b0e13989
chore(deps): pin dependencies (#6627)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2025-03-19 17:44:39 +02:00

32 lines
1 KiB
YAML

on:
workflow_call:
jobs:
deployment:
runs-on: ubuntu-22.04
steps:
- name: checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
fetch-depth: 2
- name: setup environment
uses: ./.github/actions/setup
with:
codegen: true
actor: storybook
- uses: the-guild-org/shared-config/website-cf@main
name: build and deploy storybook
with:
cloudflareApiToken: ${{ secrets.WEBSITE_CLOUDFLARE_API_TOKEN }}
cloudflareAccountId: ${{ secrets.WEBSITE_CLOUDFLARE_ACCOUNT_ID }}
githubToken: ${{ secrets.GITHUB_TOKEN }}
projectName: hive-storybook
prId: ${{ github.event.pull_request.number }}
mainBranch: main
websiteDirectory: ./
buildScript: cd packages/web/app && pnpm build-storybook
artifactDir: packages/web/app/storybook-static
commentId: storybook-deployment
commentTitle: '📚 Storybook Deployment'