Skip to content

Reset page after changing pattern filters or search value (#54774) #58

Reset page after changing pattern filters or search value (#54774)

Reset page after changing pattern filters or search value (#54774) #58

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@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
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@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook/build
force_orphan: true