Skip to content

Post Terms: Fix fatal error when 'get_the_term_list' returns 'WP_Erro… #29

Post Terms: Fix fatal error when 'get_the_term_list' returns 'WP_Erro…

Post Terms: Fix fatal error when 'get_the_term_list' returns 'WP_Erro… #29

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@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.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@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./storybook/build
force_orphan: true