Some checks failed
Docker / Docker Buildx (push) Has been cancelled
Build Debian package / Build package (release) Has been cancelled
Build and Deploy / prepare (release) Has been cancelled
Deploy release / Deploy to Cloudflare Pages (release) Has been cancelled
Build and Deploy / Trigger Pro pipeline (release) Has been cancelled
Build and Deploy / Windows arm64 (release) Has been cancelled
Build and Deploy / Windows x64 (release) Has been cancelled
Build and Deploy / macOS (release) Has been cancelled
Build and Deploy / Linux amd64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / Linux arm64 (sqlcipher static) (release) Has been cancelled
Build and Deploy / ${{ needs.prepare.outputs.deploy == 'true' && 'Deploy' || 'Deploy (dry-run)' }} (release) Has been cancelled
Build and Deploy / Deploy builds to ESS (release) Has been cancelled
34 lines
1.0 KiB
YAML
34 lines
1.0 KiB
YAML
name: Publish shared component storybook
|
|
on:
|
|
workflow_dispatch: {}
|
|
push:
|
|
branches:
|
|
- "develop"
|
|
paths:
|
|
- "packages/shared-components/**/*"
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
build:
|
|
name: Build storybook
|
|
uses: ./.github/workflows/shared-component-storybook-build.yml
|
|
|
|
publish:
|
|
name: Publish storybook
|
|
runs-on: ubuntu-latest
|
|
needs: build
|
|
environment: SharedComponents
|
|
steps:
|
|
- uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
|
|
with:
|
|
name: shared-components-storybook
|
|
path: storybook-static
|
|
|
|
- name: 🚀 Deploy to Cloudflare Pages
|
|
uses: cloudflare/wrangler-action@9acf94ace14e7dc412b076f2c5c20b8ce93c79cd # v3
|
|
with:
|
|
apiToken: ${{ secrets.CF_PAGES_TOKEN }}
|
|
accountId: ${{ secrets.CF_PAGES_ACCOUNT_ID }}
|
|
command: pages deploy storybook-static --project-name=shared-components-storybook
|