Skip to content

Editor: Use hooks instead of HoC in BlockManager (#65349) #72

Editor: Use hooks instead of HoC in BlockManager (#65349)

Editor: Use hooks instead of HoC in BlockManager (#65349) #72

name: Storybook GitHub Pages
on:
push:
branches:
- trunk
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.repository == 'WordPress/gutenberg' }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: trunk
show-progress: ${{ runner.debug == '1' && 'true' || 'false' }}
- name: Setup Node.js and install dependencies
uses: ./.github/setup-node
- name: Build Storybook
run: npm run storybook:build
- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook/build
force_orphan: true